Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001061/0.001061, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008455/0.008455, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 15.16 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3009, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02931/0.3303, allocations: 32.2 MB / 1.106 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01729/0.3476, allocations: 12.31 MB / 1.118 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001539/0.3492, allocations: 43.75 kB / 1.118 GB, free: 10.83 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.007987/0.3572, allocations: 3.812 MB / 1.121 GB, free: 7.012 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00479/0.362, allocations: 1.52 MB / 1.123 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.3654, allocations: 1.3 MB / 1.124 GB, free: 4.195 MB / 0.8731 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01057/0.3759, allocations: 9.416 MB / 1.133 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.3788, allocations: 1.757 MB / 1.135 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.3819, allocations: 1.598 MB / 1.137 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.3837, allocations: 1.392 MB / 1.138 GB, free: 5.969 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.3839, allocations: 68 kB / 1.138 GB, free: 5.902 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.3867, allocations: 1.299 MB / 1.139 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005146/0.3872, allocations: 0.5173 MB / 1.14 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001209/0.3885, allocations: 1.101 MB / 1.141 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.3919, allocations: 3.36 MB / 1.144 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3919, allocations: 0 / 1.144 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3919, allocations: 0 / 1.144 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.386e-05/0.392, allocations: 0 / 1.144 GB, free: 15.6 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.003515/0.3955, allocations: 2.395 MB / 1.146 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3955, allocations: 12.03 kB / 1.146 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.3973, allocations: 440.7 kB / 1.147 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003895/0.4012, allocations: 2.673 MB / 1.15 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.4014, allocations: 82.28 kB / 1.15 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/0.4015, allocations: 107.9 kB / 1.15 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002195/0.4038, allocations: 1.326 MB / 1.151 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.4038, allocations: 7.938 kB / 1.151 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.4039, allocations: 40 kB / 1.151 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/0.4039, allocations: 27.94 kB / 1.151 GB, free: 8.27 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/0.4061, allocations: 1.042 MB / 1.152 GB, free: 7.227 MB / 0.9044 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.007279/0.4134, allocations: 7.169 MB / 1.159 GB, free: 15.55 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/0.4148, allocations: 0.6211 MB / 1.16 GB, free: 14.93 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007718/0.4156, allocations: 409.9 kB / 1.16 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002459/0.418, allocations: 1.77 MB / 1.162 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008013/0.4189, allocations: 371.3 kB / 1.162 GB, free: 12.24 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004371/0.4193, allocations: 111.8 kB / 1.162 GB, free: 12.13 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 8.496e-06/0.4193, allocations: 4 kB / 1.162 GB, free: 12.12 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.00362/0.423, allocations: 1.389 MB / 1.164 GB, free: 10.7 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.423, allocations: 63.41 kB / 1.164 GB, free: 10.63 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002927/0.4259, allocations: 2.36 MB / 1.166 GB, free: 8.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/0.426, allocations: 45.64 kB / 1.166 GB, free: 8.199 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009035/0.4269, allocations: 0.9881 MB / 1.167 GB, free: 7.199 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/0.4271, allocations: 165.7 kB / 1.167 GB, free: 7.035 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.4273, allocations: 141.6 kB / 1.167 GB, free: 6.891 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.4274, allocations: 353.9 kB / 1.168 GB, free: 6.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009312/0.4284, allocations: 0.4906 MB / 1.168 GB, free: 6.047 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001358/0.4297, allocations: 0.9931 MB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.4317, allocations: 1.351 MB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/0.4318, allocations: 4 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003211/0.435, allocations: 1.811 MB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/0.4353, allocations: 465.8 kB / 1.173 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.4353, allocations: 12 kB / 1.173 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006569/0.436, allocations: 192.6 kB / 1.173 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.4368, allocations: 223.6 kB / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006508/0.4375, allocations: 0.7669 MB / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.4388, allocations: 120.7 kB / 1.174 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.802e-05/0.4389, allocations: 51.98 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/0.4389, allocations: 4 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002774/0.4417, allocations: 1.58 MB / 1.175 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.4417, allocations: 12 kB / 1.175 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.4419, allocations: 128.7 kB / 1.176 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.4427, allocations: 219.9 kB / 1.176 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.445, allocations: 2.134 MB / 1.178 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.4463, allocations: 114.2 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.4464, allocations: 63.92 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (119): * Single equations (assignments): 115 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001188/0.4476, allocations: 0.6918 MB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.4478, allocations: 209.3 kB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.4501, allocations: 1.041 MB / 1.18 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4501, allocations: 4 kB / 1.18 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.4501, allocations: 0 / 1.18 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001646/0.4518, allocations: 0.9661 MB / 1.181 GB, free: 8.07 MB / 0.9356 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.003851/0.4556, allocations: 2.378 MB / 1.183 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4556, allocations: 0 / 1.183 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.4561, allocations: 99.92 kB / 1.183 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002852/0.4564, allocations: 108.8 kB / 1.183 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.4565, allocations: 15.98 kB / 1.183 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006369/0.4571, allocations: 0.7508 MB / 1.184 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4571, allocations: 0 / 1.184 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.4597, allocations: 1.437 MB / 1.186 GB, free: 3.148 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005618/0.4603, allocations: 370.2 kB / 1.186 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000205/0.4605, allocations: 11.98 kB / 1.186 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009299/0.4615, allocations: 87.89 kB / 1.186 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.4616, allocations: 36.39 kB / 1.186 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.361e-05/0.4616, allocations: 27.91 kB / 1.186 GB, free: 2.605 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002094/0.4637, allocations: 1.603 MB / 1.188 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.6e-07/0.4637, allocations: 0 / 1.188 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00246/0.4662, allocations: 0.9478 MB / 1.189 GB, free: 44 kB / 0.9356 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 (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/0.4673, allocations: 0.5143 MB / 1.189 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003467/0.4708, allocations: 2.024 MB / 1.191 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4708, allocations: 1.438 kB / 1.191 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.4716, allocations: 346.4 kB / 1.191 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004057/0.4756, allocations: 0.926 MB / 1.192 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006859/0.4825, allocations: 4.356 MB / 1.197 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.4837, allocations: 1.674 MB / 1.198 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001888/0.4856, allocations: 0.536 MB / 1.199 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003646/0.486, allocations: 159.4 kB / 1.199 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.486, allocations: 0 / 1.199 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of Templates: time 0.06147/0.5475, allocations: 37.89 MB / 1.236 GB, free: 15.98 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)