Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.001174/0.001174, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.999/1.999, allocations: 292.3 MB / 0.5496 GB, free: 17.39 MB / 462.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.001403/0.001403, allocations: 63.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1861, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.3556/0.5417, allocations: 80.92 MB / 0.8638 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03109/0.5729, allocations: 22.29 MB / 0.8856 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00359/0.5765, allocations: 113.7 kB / 0.8857 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002975/0.5795, allocations: 1.147 MB / 0.8868 GB, free: 9.645 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007673/0.5872, allocations: 2.755 MB / 0.8895 GB, free: 7.438 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006033/0.5932, allocations: 2.381 MB / 0.8918 GB, free: 5.676 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0254/0.6187, allocations: 26.73 MB / 0.9179 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02007/0.6388, allocations: 16.99 MB / 0.9345 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01978/0.6586, allocations: 11.26 MB / 0.9455 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01994/0.6785, allocations: 11.66 MB / 0.9569 GB, free: 10.05 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.003846/0.6824, allocations: 1.277 MB / 0.9582 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008328/0.6907, allocations: 2.568 MB / 0.9607 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.005091/0.6958, allocations: 3.627 MB / 0.9642 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.01214/0.708, allocations: 6.454 MB / 0.9705 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.02219/0.7302, allocations: 18.39 MB / 0.9885 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.7303, allocations: 0 / 0.9885 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7303, allocations: 0 / 0.9885 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003819/0.7307, allocations: 4 kB / 0.9885 GB, free: 9.641 MB / 0.7794 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.03098/0.7616, allocations: 12.11 MB / 1 GB, free: 13.42 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.7617, allocations: 12.03 kB / 1 GB, free: 13.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006108/0.7678, allocations: 1.25 MB / 1.002 GB, free: 12.15 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01931/0.7871, allocations: 9.94 MB / 1.011 GB, free: 2.125 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/0.7875, allocations: 439.1 kB / 1.012 GB, free: 1.695 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/0.7896, allocations: 0.5856 MB / 1.012 GB, free: 1.109 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02599/0.8156, allocations: 14.62 MB / 1.027 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001189/0.8158, allocations: 23.77 kB / 1.027 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001129/0.8169, allocations: 240 kB / 1.027 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.023e-05/0.817, allocations: 140 kB / 1.027 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02994/0.8469, allocations: 19.76 MB / 1.046 GB, free: 14.05 MB / 0.8419 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.1001/0.9471, allocations: 59.99 MB / 1.105 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/0.9615, allocations: 9.171 MB / 1.114 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01182/0.9733, allocations: 8.581 MB / 1.122 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6216/1.595, allocations: 27.43 MB / 1.149 GB, free: 283.9 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01183/1.607, allocations: 7.639 MB / 1.156 GB, free: 281.6 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01518/1.622, allocations: 4.488 MB / 1.161 GB, free: 281 MB / 0.92 GB Notification: Performance of pre-optimization done (n=299): time 2.071e-05/1.622, allocations: 0 / 1.161 GB, free: 281 MB / 0.92 GB Notification: Performance of matching and sorting (n=299): time 0.05013/1.672, allocations: 23.3 MB / 1.183 GB, free: 273.4 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/1.672, allocations: 86.45 kB / 1.184 GB, free: 273.3 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01464/1.687, allocations: 8.105 MB / 1.191 GB, free: 270.6 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.002192/1.689, allocations: 97.11 kB / 1.192 GB, free: 270.5 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00387/1.693, allocations: 3.992 MB / 1.195 GB, free: 267.7 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.002871/1.696, allocations: 1.077 MB / 1.197 GB, free: 266.7 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005456/1.701, allocations: 1.668 MB / 1.198 GB, free: 265.8 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 3.514e-05/1.701, allocations: 305.8 kB / 1.198 GB, free: 265.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009034/1.71, allocations: 6.545 MB / 1.205 GB, free: 261.8 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009271/1.72, allocations: 8.327 MB / 1.213 GB, free: 255.8 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01967/1.739, allocations: 15.25 MB / 1.228 GB, free: 244.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.506e-05/1.739, allocations: 16 kB / 1.228 GB, free: 244.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03253/1.772, allocations: 17.55 MB / 1.245 GB, free: 227.1 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.222e-05/1.772, allocations: 53.7 kB / 1.245 GB, free: 227.1 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.938e-05/1.772, allocations: 48 kB / 1.245 GB, free: 227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06767/1.84, allocations: 11.58 MB / 1.256 GB, free: 215.5 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007995/1.848, allocations: 1.549 MB / 1.258 GB, free: 213.9 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004842/1.853, allocations: 3.788 MB / 1.262 GB, free: 210.1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009303/1.862, allocations: 341.1 kB / 1.262 GB, free: 209.7 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002151/1.864, allocations: 0.546 MB / 1.263 GB, free: 209.2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01375/1.878, allocations: 8.795 MB / 1.271 GB, free: 200.4 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009899/1.888, allocations: 8.272 MB / 1.279 GB, free: 191.2 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01777/1.906, allocations: 15.16 MB / 1.294 GB, free: 175.4 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.952e-05/1.906, allocations: 19.98 kB / 1.294 GB, free: 175.4 MB / 0.92 GB Notification: Performance of matching and sorting (n=578) (initialization_lambda0): time 0.02823/1.934, allocations: 17.39 MB / 1.311 GB, free: 157.9 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/1.934, allocations: 57.7 kB / 1.311 GB, free: 157.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.781e-05/1.934, allocations: 48 kB / 1.311 GB, free: 157.8 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06635/2.001, allocations: 11.13 MB / 1.322 GB, free: 146.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007692/2.008, allocations: 1.542 MB / 1.323 GB, free: 145.1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008234/2.017, allocations: 8.179 MB / 1.331 GB, free: 136.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008842/2.025, allocations: 345 kB / 1.332 GB, free: 136.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001763/2.027, allocations: 0.5343 MB / 1.332 GB, free: 135.8 MB / 0.92 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.002398/2.03, allocations: 495.8 kB / 1.333 GB, free: 135.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002608/2.032, allocations: 0.7557 MB / 1.333 GB, free: 134.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02006/2.052, allocations: 14.17 MB / 1.347 GB, free: 120.4 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01258/2.065, allocations: 10.77 MB / 1.358 GB, free: 109.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/2.065, allocations: 4 kB / 1.358 GB, free: 109.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004095/2.069, allocations: 1.799 MB / 1.36 GB, free: 107.7 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001614/2.071, allocations: 71.98 kB / 1.36 GB, free: 107.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004979/2.076, allocations: 199.6 kB / 1.36 GB, free: 107.4 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007379/2.076, allocations: 254.4 kB / 1.36 GB, free: 107.1 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01727/2.094, allocations: 11.71 MB / 1.372 GB, free: 95.46 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02076/2.114, allocations: 19.31 MB / 1.39 GB, free: 76.08 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005524/2.12, allocations: 6.007 MB / 1.396 GB, free: 70.06 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.006521/2.127, allocations: 5.597 MB / 1.402 GB, free: 64.48 MB / 0.92 GB Notification: Performance of Backend: time 1.513e-06/2.127, allocations: 0 / 1.402 GB, free: 64.48 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.03205/2.159, allocations: 19.15 MB / 1.42 GB, free: 45.39 MB / 0.92 GB Notification: Performance of SimCode: time 0.03446/2.193, allocations: 20.72 MB / 1.441 GB, free: 24.94 MB / 0.92 GB Notification: Performance of Templates: time 0.606/2.799, allocations: 269.6 MB / 1.704 GB, free: 143.5 MB / 0.9513 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)