Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.517/1.517, allocations: 287.4 MB / 302.5 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000964/0.000964, allocations: 189.2 kB / 371.1 MB, free: 10.72 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.4 MB / 0.6298 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008038/0.0008038, allocations: 90.36 kB / 0.7431 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 16.17 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2008, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.06158/0.2624, allocations: 74.5 MB / 1.051 GB, free: 1.383 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.462/0.7244, allocations: 20.98 MB / 1.072 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003563/0.7281, allocations: 94.5 kB / 1.072 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.7309, allocations: 0.7718 MB / 1.073 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006968/0.7379, allocations: 2.267 MB / 1.075 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005334/0.7432, allocations: 1.784 MB / 1.077 GB, free: 17.91 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03497/0.7782, allocations: 30.35 MB / 1.106 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02422/0.8025, allocations: 14.86 MB / 1.121 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02087/0.8234, allocations: 9.175 MB / 1.13 GB, free: 8.273 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0207/0.8441, allocations: 10.73 MB / 1.14 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.004747/0.8489, allocations: 0.8129 MB / 1.141 GB, free: 4.656 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01091/0.8598, allocations: 1.794 MB / 1.143 GB, free: 3.57 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.006527/0.8664, allocations: 2.958 MB / 1.146 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006034/0.8725, allocations: 1.824 MB / 1.148 GB, free: 444 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01648/0.889, allocations: 13.9 MB / 1.161 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/0.889, allocations: 5.875 kB / 1.161 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.889, allocations: 0 / 1.161 GB, free: 4.402 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005414/0.8896, allocations: 0 / 1.161 GB, free: 4.402 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03212/0.9217, allocations: 12.98 MB / 1.174 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.9218, allocations: 12.03 kB / 1.174 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004067/0.9259, allocations: 0.7661 MB / 1.175 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00732/0.9332, allocations: 1.277 MB / 1.176 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02308/0.9563, allocations: 9.898 MB / 1.186 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006553/0.957, allocations: 440.1 kB / 1.186 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004691/0.9617, allocations: 0.5818 MB / 1.186 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03122/0.993, allocations: 14.68 MB / 1.201 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001513/0.9932, allocations: 23.78 kB / 1.201 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/0.9944, allocations: 244 kB / 1.201 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-05/0.9945, allocations: 140 kB / 1.201 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03636/1.031, allocations: 19.88 MB / 1.221 GB, free: 8.355 MB / 0.7605 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.1206/1.151, allocations: 66.64 MB / 1.286 GB, free: 4.73 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/1.17, allocations: 9.331 MB / 1.295 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0114/1.181, allocations: 8.67 MB / 1.303 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07038/1.252, allocations: 30.99 MB / 1.334 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01433/1.266, allocations: 7.757 MB / 1.341 GB, free: 11.67 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0322/1.299, allocations: 11.75 MB / 1.353 GB, free: 36 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=300): time 2.895e-05/1.299, allocations: 0 / 1.353 GB, free: 36 kB / 0.8855 GB Notification: Performance of matching and sorting (n=300): time 0.05633/1.355, allocations: 24.52 MB / 1.377 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/1.355, allocations: 85.77 kB / 1.377 GB, free: 7.277 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01559/1.371, allocations: 8.1 MB / 1.385 GB, free: 15.19 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.002416/1.373, allocations: 101.7 kB / 1.385 GB, free: 15.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.004954/1.378, allocations: 4.018 MB / 1.389 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003241/1.381, allocations: 1.078 MB / 1.39 GB, free: 9.984 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002107/1.384, allocations: 92 kB / 1.39 GB, free: 9.895 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004225/1.384, allocations: 495.8 kB / 1.39 GB, free: 9.402 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/1.395, allocations: 6.543 MB / 1.397 GB, free: 2.848 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01399/1.409, allocations: 8.4 MB / 1.405 GB, free: 9.605 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02469/1.433, allocations: 15.29 MB / 1.42 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.581e-05/1.433, allocations: 16 kB / 1.42 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.8533/2.287, allocations: 17.81 MB / 1.437 GB, free: 337.8 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001002/2.288, allocations: 1.564 MB / 1.439 GB, free: 335.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.8e-05/2.288, allocations: 48.25 kB / 1.439 GB, free: 335.8 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06842/2.356, allocations: 11.49 MB / 1.45 GB, free: 335 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008748/2.365, allocations: 1.57 MB / 1.451 GB, free: 335 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009031/2.374, allocations: 6.79 MB / 1.458 GB, free: 331.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/2.385, allocations: 0.5921 MB / 1.459 GB, free: 331.1 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002898/2.388, allocations: 0.5414 MB / 1.459 GB, free: 331.1 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/2.388, allocations: 3.406 kB / 1.459 GB, free: 331.1 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03302/2.421, allocations: 16.75 MB / 1.476 GB, free: 325 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/2.422, allocations: 50.12 kB / 1.476 GB, free: 325 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05963/2.481, allocations: 11.02 MB / 1.486 GB, free: 321.3 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008408/2.49, allocations: 1.555 MB / 1.488 GB, free: 320.6 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/2.502, allocations: 11.02 MB / 1.499 GB, free: 312.4 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/2.512, allocations: 0.5716 MB / 1.499 GB, free: 312.2 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002628/2.515, allocations: 0.5363 MB / 1.5 GB, free: 311.9 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.007732/2.523, allocations: 2.632 MB / 1.502 GB, free: 310 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003561/2.526, allocations: 0.7509 MB / 1.503 GB, free: 309.6 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02738/2.554, allocations: 14.33 MB / 1.517 GB, free: 295.3 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.24e-05/2.554, allocations: 35.94 kB / 1.517 GB, free: 295.3 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/2.554, allocations: 0 / 1.517 GB, free: 295.3 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01681/2.571, allocations: 10.94 MB / 1.528 GB, free: 284.2 MB / 0.9637 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 postOpt removeSimpleEquations (simulation): time 0.03741/2.608, allocations: 24.9 MB / 1.552 GB, free: 259.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/2.608, allocations: 0 / 1.552 GB, free: 259.3 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0047/2.613, allocations: 0.6963 MB / 1.553 GB, free: 258.6 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05571/2.669, allocations: 10.34 MB / 1.563 GB, free: 248.3 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/2.67, allocations: 99.94 kB / 1.563 GB, free: 248.2 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/2.675, allocations: 4.932 MB / 1.568 GB, free: 243.1 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/2.675, allocations: 3.984 kB / 1.568 GB, free: 243.1 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02619/2.701, allocations: 19.56 MB / 1.587 GB, free: 223.8 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005216/2.706, allocations: 1.997 MB / 1.589 GB, free: 221.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002487/2.709, allocations: 79.97 kB / 1.589 GB, free: 221.7 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007139/2.716, allocations: 438.8 kB / 1.589 GB, free: 221.3 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009032/2.717, allocations: 222.6 kB / 1.589 GB, free: 221.1 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007504/2.717, allocations: 159.9 kB / 1.59 GB, free: 221 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.008695/2.726, allocations: 5.57 MB / 1.595 GB, free: 215.4 MB / 0.9637 GB Notification: Performance of sort global known variables: time 1.342e-06/2.726, allocations: 0 / 1.595 GB, free: 215.4 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.01809/2.744, allocations: 4.98 MB / 1.6 GB, free: 210.6 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.02792/2.772, allocations: 20.36 MB / 1.62 GB, free: 190.2 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.03997/2.812, allocations: 24.2 MB / 1.643 GB, free: 165.9 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/2.812, allocations: 1.875 kB / 1.643 GB, free: 165.9 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.009724/2.822, allocations: 6.455 MB / 1.65 GB, free: 159.4 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03023/2.852, allocations: 4.981 MB / 1.655 GB, free: 154.5 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2577/3.11, allocations: 94.42 MB / 1.747 GB, free: 55.44 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006764/3.117, allocations: 5.206 MB / 1.752 GB, free: 50.2 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.01988/3.137, allocations: 4.976 MB / 1.757 GB, free: 45.22 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01013/3.147, allocations: 3.818 MB / 1.76 GB, free: 41.4 MB / 0.9637 GB Notification: Performance of SimCode: time 7.41e-07/3.147, allocations: 0 / 1.76 GB, free: 41.4 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.086/4.233, allocations: 295.1 MB / 2.049 GB, free: 120.6 MB / 0.9637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/4.233, allocations: 255.7 kB / 2.049 GB, free: 120.2 MB / 0.9637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/15.25, allocations: 0 / 2.049 GB, free: 120.2 MB / 0.9637 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)