Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00727/0.00727, allocations: 101.5 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 196.9 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.045/1.045, allocations: 143 MB / 433.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.595 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4364/0.4378, allocations: 82.02 MB / 0.6751 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1876/0.6254, allocations: 171 MB / 0.8422 GB, free: 10.8 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.006577/0.632, allocations: 4.3 MB / 0.8464 GB, free: 6.488 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008264/0.6329, allocations: 19.88 kB / 0.8464 GB, free: 6.469 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.634, allocations: 354 kB / 0.8467 GB, free: 6.121 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.6367, allocations: 0.9954 MB / 0.8477 GB, free: 5.121 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.6389, allocations: 0.8137 MB / 0.8485 GB, free: 4.312 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001934/0.6409, allocations: 1.294 MB / 0.8498 GB, free: 3.016 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008863/0.6418, allocations: 491.2 kB / 0.8502 GB, free: 2.531 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.6435, allocations: 0.6732 MB / 0.8509 GB, free: 1.855 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.6448, allocations: 454.8 kB / 0.8513 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.645, allocations: 56 kB / 0.8514 GB, free: 1.359 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.6468, allocations: 0.916 MB / 0.8523 GB, free: 452 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.6471, allocations: 211.4 kB / 0.8525 GB, free: 240 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006522/0.6477, allocations: 326.6 kB / 0.8528 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.6499, allocations: 1.157 MB / 0.8539 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6499, allocations: 0 / 0.8539 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6499, allocations: 0 / 0.8539 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.6499, allocations: 0 / 0.8539 GB, free: 14.75 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002009/0.6519, allocations: 0.9583 MB / 0.8548 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.652, allocations: 8.031 kB / 0.8549 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.6521, allocations: 82.53 kB / 0.8549 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001688/0.6538, allocations: 263 kB / 0.8552 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009709/0.6548, allocations: 0.4896 MB / 0.8557 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.6548, allocations: 36.98 kB / 0.8557 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.241e-05/0.6549, allocations: 44 kB / 0.8557 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.6562, allocations: 0.6068 MB / 0.8563 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6562, allocations: 4 kB / 0.8563 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/0.6563, allocations: 20 kB / 0.8564 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.6563, allocations: 21 kB / 0.8564 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.6577, allocations: 0.5542 MB / 0.8569 GB, free: 11.55 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.6618, allocations: 2.261 MB / 0.8591 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008692/0.6626, allocations: 278.3 kB / 0.8594 GB, free: 8.875 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005225/0.6632, allocations: 168.7 kB / 0.8596 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.6632, allocations: 4 kB / 0.8596 GB, free: 8.703 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.6633, allocations: 46.5 kB / 0.8596 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=11): time 2.144e-06/0.6633, allocations: 0 / 0.8596 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of matching and sorting (n=11): time 0.005127/0.6684, allocations: 1.092 MB / 0.8607 GB, free: 7.527 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.6685, allocations: 77.11 kB / 0.8607 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006784/0.6692, allocations: 0.5573 MB / 0.8613 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.6692, allocations: 25.7 kB / 0.8613 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.6695, allocations: 299.5 kB / 0.8616 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.783e-05/0.6695, allocations: 39.45 kB / 0.8616 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.6696, allocations: 65.59 kB / 0.8617 GB, free: 6.43 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6698, allocations: 354.8 kB / 0.862 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/0.6704, allocations: 187.8 kB / 0.8622 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.671, allocations: 267.3 kB / 0.8625 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.6721, allocations: 404.2 kB / 0.8629 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6721, allocations: 0 / 0.8629 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0026/0.6747, allocations: 0.7294 MB / 0.8636 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.6747, allocations: 8 kB / 0.8636 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.6747, allocations: 4.094 kB / 0.8636 GB, free: 4.422 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006595/0.6754, allocations: 188.6 kB / 0.8638 GB, free: 4.234 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.6758, allocations: 67.95 kB / 0.8638 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003921/0.6797, allocations: 2.234 MB / 0.866 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006591/0.6804, allocations: 71.48 kB / 0.8661 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/0.6804, allocations: 12 kB / 0.8661 GB, free: 1.723 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002899/0.6807, allocations: 189.8 kB / 0.8663 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.6809, allocations: 55.28 kB / 0.8663 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.681, allocations: 59.95 kB / 0.8664 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.681, allocations: 3.938 kB / 0.8664 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.681, allocations: 0 / 0.8664 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.681, allocations: 0 / 0.8664 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/0.6841, allocations: 1.137 MB / 0.8675 GB, free: 212 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.6841, allocations: 4.062 kB / 0.8675 GB, free: 208 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002357/0.6843, allocations: 39.95 kB / 0.8675 GB, free: 168 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3436/1.028, allocations: 174 kB / 0.8677 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-05/1.028, allocations: 5.75 kB / 0.8677 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003559/1.032, allocations: 2.183 MB / 0.8698 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.032, allocations: 0.875 kB / 0.8698 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002576/1.034, allocations: 0.7043 MB / 0.8705 GB, free: 186.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/1.035, allocations: 168.2 kB / 0.8707 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.613e-05/1.035, allocations: 2.703 kB / 0.8707 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/1.035, allocations: 50.36 kB / 0.8707 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.464e-05/1.035, allocations: 13.25 kB / 0.8707 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/1.035, allocations: 16.59 kB / 0.8708 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005561/1.036, allocations: 390.8 kB / 0.8711 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/1.036, allocations: 0 / 0.8711 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007386/1.037, allocations: 188.7 kB / 0.8713 GB, free: 185.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003079/1.04, allocations: 1.313 MB / 0.8726 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001586/1.041, allocations: 0.5338 MB / 0.8731 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.041, allocations: 0.9688 kB / 0.8731 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007074/1.042, allocations: 300.9 kB / 0.8734 GB, free: 184.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/1.044, allocations: 301.4 kB / 0.8737 GB, free: 184.7 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01147/1.055, allocations: 5.062 MB / 0.8786 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/1.055, allocations: 0.8677 MB / 0.8795 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000536/1.056, allocations: 109.2 kB / 0.8796 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/1.056, allocations: 165.4 kB / 0.8797 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of SimCode: time 1.072e-06/1.056, allocations: 0 / 0.8797 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04297/1.099, allocations: 17.22 MB / 0.8966 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/13.05, allocations: 4.891 kB / 0.8966 GB, free: 172.5 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)