Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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: translateModel(IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2") translateModel(IBPSA.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001205/0.001205, allocations: 88.38 kB / 16.66 MB, free: 5.738 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.001276/0.001277, allocations: 180.2 kB / 17.58 MB, free: 5.473 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.332/1.332, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7101/0.7101, allocations: 115.5 MB / 408.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003865, allocations: 12 kB / 496.5 MB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4279, allocations: 77.52 MB / 0.5606 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v2): time 0.0712/0.4991, allocations: 79 MB / 0.6377 GB, free: 4.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03095/0.5301, allocations: 20.98 MB / 0.6582 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005061/0.5352, allocations: 95.38 kB / 0.6583 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.009096/0.5443, allocations: 4.146 MB / 0.6624 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008729/0.5531, allocations: 2.636 MB / 0.6649 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006155/0.5593, allocations: 2.19 MB / 0.6671 GB, free: 6.082 MB / 0.4981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.03736/0.5966, allocations: 38.99 MB / 0.7051 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02058/0.6173, allocations: 14.94 MB / 0.7197 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02022/0.6375, allocations: 9.12 MB / 0.7286 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02152/0.6591, allocations: 11.36 MB / 0.7397 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.004856/0.664, allocations: 0.8124 MB / 0.7405 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01125/0.6753, allocations: 2.275 MB / 0.7428 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.007571/0.6829, allocations: 3.154 MB / 0.7458 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.685/1.368, allocations: 5.976 MB / 0.7517 GB, free: 46.4 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.02511/1.393, allocations: 14.39 MB / 0.7657 GB, free: 46.04 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.393, allocations: 0 / 0.7657 GB, free: 46.04 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.763e-06/1.393, allocations: 0 / 0.7657 GB, free: 46.04 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.0007782/1.394, allocations: 1.031 kB / 0.7657 GB, free: 46.04 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.04784/1.442, allocations: 13.31 MB / 0.7787 GB, free: 41.73 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.442, allocations: 13.56 kB / 0.7787 GB, free: 41.72 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01305/1.455, allocations: 1.419 MB / 0.7801 GB, free: 41.17 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02795/1.483, allocations: 11.02 MB / 0.7909 GB, free: 39.61 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005523/1.484, allocations: 443.7 kB / 0.7913 GB, free: 39.59 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005882/1.489, allocations: 0.5812 MB / 0.7919 GB, free: 39.59 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04254/1.532, allocations: 14.66 MB / 0.8062 GB, free: 37.29 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003163/1.532, allocations: 27.72 kB / 0.8062 GB, free: 37.28 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005216/1.538, allocations: 242.5 kB / 0.8065 GB, free: 37.28 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/1.538, allocations: 137.7 kB / 0.8066 GB, free: 37.28 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03703/1.575, allocations: 19.84 MB / 0.826 GB, free: 33.91 MB / 0.5763 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.1289/1.704, allocations: 66.56 MB / 0.891 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01733/1.721, allocations: 9.204 MB / 0.8999 GB, free: 13.29 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0153/1.737, allocations: 8.624 MB / 0.9084 GB, free: 4.66 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07349/1.81, allocations: 30.71 MB / 0.9384 GB, free: 5.688 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01458/1.825, allocations: 7.662 MB / 0.9458 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03414/1.859, allocations: 11.77 MB / 0.9573 GB, free: 2.332 MB / 0.67 GB Notification: Performance of pre-optimization done (n=299): time 3.513e-05/1.859, allocations: 0 / 0.9573 GB, free: 2.332 MB / 0.67 GB Notification: Performance of matching and sorting (n=299): time 0.05957/1.919, allocations: 23.95 MB / 0.9807 GB, free: 10.29 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/1.919, allocations: 81.77 kB / 0.9808 GB, free: 10.2 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01929/1.938, allocations: 8.609 MB / 0.9892 GB, free: 1.629 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 0.00298/1.941, allocations: 97.7 kB / 0.9893 GB, free: 1.527 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.00631/1.947, allocations: 4.24 MB / 0.9934 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.004349/1.952, allocations: 1.087 MB / 0.9945 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002702/1.954, allocations: 440.7 kB / 0.9949 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001057/1.955, allocations: 309.1 kB / 0.9952 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01235/1.967, allocations: 6.727 MB / 1.002 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3666/2.333, allocations: 8.581 MB / 1.01 GB, free: 286 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0331/2.367, allocations: 15.62 MB / 1.025 GB, free: 279.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001533/2.367, allocations: 17.47 kB / 1.025 GB, free: 279.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=645) (initialization): time 0.04174/2.409, allocations: 17.96 MB / 1.043 GB, free: 273.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009962/2.41, allocations: 1.588 MB / 1.045 GB, free: 271.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.297e-05/2.41, allocations: 48.69 kB / 1.045 GB, free: 271.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06543/2.475, allocations: 11.39 MB / 1.056 GB, free: 267.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009745/2.485, allocations: 1.615 MB / 1.057 GB, free: 266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008503/2.494, allocations: 6.698 MB / 1.064 GB, free: 259.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01461/2.508, allocations: 0.5399 MB / 1.064 GB, free: 258.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003837/2.512, allocations: 0.5544 MB / 1.065 GB, free: 258.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/2.512, allocations: 4 kB / 1.065 GB, free: 258.1 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03509/2.547, allocations: 17.08 MB / 1.082 GB, free: 241 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/2.547, allocations: 48 kB / 1.082 GB, free: 240.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.065/2.612, allocations: 10.94 MB / 1.092 GB, free: 230 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009447/2.622, allocations: 1.62 MB / 1.094 GB, free: 228.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/2.634, allocations: 10.61 MB / 1.104 GB, free: 217.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01385/2.648, allocations: 0.5291 MB / 1.105 GB, free: 217 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003616/2.652, allocations: 0.546 MB / 1.105 GB, free: 216.4 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 221 * 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 (561): * Single equations (assignments): 554 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.01065/2.662, allocations: 2.774 MB / 1.108 GB, free: 213.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003741/2.666, allocations: 0.803 MB / 1.109 GB, free: 213.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02694/2.693, allocations: 14.2 MB / 1.123 GB, free: 199.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.563e-05/2.693, allocations: 39.98 kB / 1.123 GB, free: 199 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/2.693, allocations: 0 / 1.123 GB, free: 199 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01477/2.708, allocations: 10.8 MB / 1.133 GB, free: 188.1 MB / 0.7169 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.04112/2.749, allocations: 24.76 MB / 1.157 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/2.749, allocations: 4 kB / 1.157 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005283/2.754, allocations: 0.6963 MB / 1.158 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06185/2.816, allocations: 10.26 MB / 1.168 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001752/2.818, allocations: 99.94 kB / 1.168 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004425/2.823, allocations: 4.707 MB / 1.173 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/2.823, allocations: 8.156 kB / 1.173 GB, free: 147.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02896/2.852, allocations: 19.33 MB / 1.192 GB, free: 128 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00835/2.86, allocations: 2.006 MB / 1.194 GB, free: 126 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004307/2.864, allocations: 71.98 kB / 1.194 GB, free: 125.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009712/2.874, allocations: 400.1 kB / 1.194 GB, free: 125.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001595/2.876, allocations: 214.6 kB / 1.194 GB, free: 125.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007879/2.877, allocations: 155.8 kB / 1.194 GB, free: 125.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.01114/2.888, allocations: 5.907 MB / 1.2 GB, free: 119.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.71e-07/2.888, allocations: 4 kB / 1.2 GB, free: 119.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.02623/2.914, allocations: 5.017 MB / 1.205 GB, free: 114.5 MB / 0.7169 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 (303): * Single equations (assignments): 293 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003266/2.917, allocations: 0.7206 MB / 1.206 GB, free: 113.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.04038/2.958, allocations: 24.98 MB / 1.23 GB, free: 88.84 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/2.958, allocations: 4 kB / 1.23 GB, free: 88.84 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00989/2.968, allocations: 6.411 MB / 1.236 GB, free: 82.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03347/3.001, allocations: 4.841 MB / 1.241 GB, free: 77.69 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04033/3.041, allocations: 24.93 MB / 1.266 GB, free: 52.76 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005273/3.047, allocations: 5.434 MB / 1.271 GB, free: 47.29 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00658/3.053, allocations: 0.9672 MB / 1.272 GB, free: 46.32 MB / 0.7169 GB Notification: Performance of SimCode: time 9.21e-07/3.053, allocations: 0 / 1.272 GB, free: 46.32 MB / 0.7169 GB Notification: Performance of Templates: time 1.102/4.156, allocations: 362.4 MB / 1.626 GB, free: 255.4 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v2.pipe 2>&1)