Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009785/0.0009785, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001046/0.001046, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.481/1.481, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.597/1.597, allocations: 251.9 MB / 0.51 GB, free: 4.883 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006038/0.000604, allocations: 15.44 kB / 0.6241 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4534/0.4541, allocations: 106.3 MB / 0.728 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02602/0.4801, allocations: 27.51 MB / 0.7548 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01517/0.4953, allocations: 11.6 MB / 0.7662 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.4965, allocations: 35.75 kB / 0.7662 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001625/0.4981, allocations: 0.6104 MB / 0.7668 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.5014, allocations: 1.456 MB / 0.7682 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005545/0.507, allocations: 2.276 MB / 0.7704 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003617/0.5106, allocations: 2.836 MB / 0.7732 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.5125, allocations: 1.608 MB / 0.7748 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00194/0.5144, allocations: 1.32 MB / 0.7761 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.5155, allocations: 0.9216 MB / 0.777 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.5156, allocations: 72 kB / 0.777 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001644/0.5173, allocations: 0.7646 MB / 0.7778 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.5177, allocations: 358.6 kB / 0.7781 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003713/0.518, allocations: 400.6 kB / 0.7785 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.5201, allocations: 2.104 MB / 0.7806 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.5201, allocations: 0 / 0.7806 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5201, allocations: 0 / 0.7806 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.5201, allocations: 0 / 0.7806 GB, free: 5.504 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003265/0.5234, allocations: 2.077 MB / 0.7826 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.5234, allocations: 12.03 kB / 0.7826 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.5245, allocations: 309.2 kB / 0.7829 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.5272, allocations: 1.563 MB / 0.7844 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.5273, allocations: 85.98 kB / 0.7845 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.5274, allocations: 104 kB / 0.7846 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002101/0.5295, allocations: 1.307 MB / 0.7859 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.5296, allocations: 7.938 kB / 0.7859 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.801e-05/0.5297, allocations: 40 kB / 0.7859 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.5297, allocations: 28 kB / 0.786 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/0.5317, allocations: 1.042 MB / 0.787 GB, free: 14.74 MB / 0.6075 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.007159/0.5389, allocations: 6.918 MB / 0.7937 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.5403, allocations: 0.6567 MB / 0.7944 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00269/0.543, allocations: 1.877 MB / 0.7962 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008042/0.5438, allocations: 400.8 kB / 0.7966 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005203/0.5443, allocations: 107.3 kB / 0.7967 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=46): time 4.509e-06/0.5443, allocations: 0 / 0.7967 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=46): time 0.004038/0.5484, allocations: 1.516 MB / 0.7982 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.5484, allocations: 55.41 kB / 0.7982 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002194/0.5506, allocations: 1.858 MB / 0.8 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/0.5507, allocations: 41.7 kB / 0.8001 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006896/0.5514, allocations: 0.8503 MB / 0.8009 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.5516, allocations: 165.7 kB / 0.8011 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.5516, allocations: 20 kB / 0.8011 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.5518, allocations: 337.9 kB / 0.8014 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/0.5524, allocations: 305.8 kB / 0.8017 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000976/0.5534, allocations: 0.7721 MB / 0.8025 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/0.5543, allocations: 442.3 kB / 0.8029 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5543, allocations: 7.953 kB / 0.8029 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002741/0.557, allocations: 1.339 MB / 0.8042 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001429/0.5585, allocations: 4.219 MB / 0.8083 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.5585, allocations: 12 kB / 0.8083 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008322/0.5593, allocations: 220.6 kB / 0.8085 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007039/0.56, allocations: 187.6 kB / 0.8087 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007593/0.5608, allocations: 0.8362 MB / 0.8095 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.5622, allocations: 120.5 kB / 0.8096 GB, free: 6.176 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/0.5623, allocations: 47.98 kB / 0.8097 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.5623, allocations: 6.5 kB / 0.8097 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001818/0.5641, allocations: 1.02 MB / 0.8107 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.5641, allocations: 12.72 kB / 0.8107 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/0.5645, allocations: 156.7 kB / 0.8108 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/0.5651, allocations: 163.7 kB / 0.811 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002539/0.5676, allocations: 2.398 MB / 0.8133 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.5689, allocations: 112.5 kB / 0.8135 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.5689, allocations: 40 kB / 0.8135 GB, free: 2.09 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008201/0.5698, allocations: 0.5865 MB / 0.8141 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.57, allocations: 169.8 kB / 0.8142 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.5721, allocations: 1.074 MB / 0.8153 GB, free: 244 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.5722, allocations: 4 kB / 0.8153 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.5722, allocations: 0 / 0.8153 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001674/0.5739, allocations: 1.015 MB / 0.8163 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003808/0.5777, allocations: 2.3 MB / 0.8185 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.5777, allocations: 3.938 kB / 0.8185 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.5782, allocations: 91.92 kB / 0.8186 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003342/0.5785, allocations: 160.8 kB / 0.8188 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.028e-05/0.5786, allocations: 20.05 kB / 0.8188 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006351/0.5792, allocations: 0.8043 MB / 0.8196 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5792, allocations: 0 / 0.8196 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.5819, allocations: 1.485 MB / 0.821 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/0.5825, allocations: 350.7 kB / 0.8214 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.5827, allocations: 4 kB / 0.8214 GB, free: 9.758 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009251/0.5836, allocations: 103.9 kB / 0.8215 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/0.5837, allocations: 40.33 kB / 0.8215 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.765e-05/0.5838, allocations: 27.98 kB / 0.8215 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001674/0.5855, allocations: 1.285 MB / 0.8228 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5855, allocations: 0 / 0.8228 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002183/0.5877, allocations: 0.854 MB / 0.8236 GB, free: 7.426 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.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 (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007696/0.5884, allocations: 381.1 kB / 0.824 GB, free: 7.047 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002823/0.5913, allocations: 1.508 MB / 0.8254 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5913, allocations: 0 / 0.8254 GB, free: 5.508 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007897/0.5921, allocations: 375.4 kB / 0.8258 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/0.5957, allocations: 0.8345 MB / 0.8266 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.6005, allocations: 3.45 MB / 0.83 GB, free: 0.8203 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.6015, allocations: 1.534 MB / 0.8315 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001525/0.6031, allocations: 445.9 kB / 0.8319 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.6034, allocations: 131.4 kB / 0.832 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.6034, allocations: 0 / 0.832 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.05022/0.6536, allocations: 32.4 MB / 0.8637 GB, free: 14.73 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) Environment - environmentSimulation: