Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008096/0.0008095, allocations: 98.27 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.005172/0.005172, allocations: 173.1 kB / 16.27 MB, free: 6.652 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 8.156 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3278, allocations: 162.2 MB / 1.074 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03019/0.3581, allocations: 32.2 MB / 1.106 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01689/0.375, allocations: 12.3 MB / 1.118 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.3765, allocations: 47.69 kB / 1.118 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00694/0.3834, allocations: 3.819 MB / 1.121 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.3873, allocations: 1.505 MB / 1.123 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.3904, allocations: 1.307 MB / 1.124 GB, free: 4.281 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.01017/0.4006, allocations: 9.417 MB / 1.133 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.403, allocations: 1.753 MB / 1.135 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.4058, allocations: 1.598 MB / 1.137 GB, free: 7.457 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.4075, allocations: 1.392 MB / 1.138 GB, free: 6.059 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/0.4077, allocations: 68 kB / 1.138 GB, free: 5.992 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.4103, allocations: 1.295 MB / 1.139 GB, free: 4.695 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004995/0.4108, allocations: 0.5096 MB / 1.14 GB, free: 4.184 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.4119, allocations: 1.105 MB / 1.141 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003642/0.4156, allocations: 3.371 MB / 1.144 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4156, allocations: 4 kB / 1.144 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4156, allocations: 0 / 1.144 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.561e-05/0.4156, allocations: 0 / 1.144 GB, free: 15.68 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.003659/0.4193, allocations: 2.393 MB / 1.146 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.4193, allocations: 12.03 kB / 1.146 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.4212, allocations: 436.7 kB / 1.147 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.4252, allocations: 2.669 MB / 1.15 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.4254, allocations: 90.27 kB / 1.15 GB, free: 9.938 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.4256, allocations: 107.9 kB / 1.15 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.4278, allocations: 1.323 MB / 1.151 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.4279, allocations: 7.984 kB / 1.151 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.428, allocations: 36 kB / 1.151 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.428, allocations: 28 kB / 1.151 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.4302, allocations: 1.05 MB / 1.152 GB, free: 7.312 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.007901/0.4381, allocations: 7.169 MB / 1.159 GB, free: 15.64 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.4395, allocations: 0.6184 MB / 1.16 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007758/0.4403, allocations: 412.5 kB / 1.16 GB, free: 14.61 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002513/0.4428, allocations: 1.77 MB / 1.162 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000817/0.4436, allocations: 375.4 kB / 1.162 GB, free: 12.32 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004811/0.4441, allocations: 107.2 kB / 1.162 GB, free: 12.22 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 2.956e-06/0.4441, allocations: 0 / 1.162 GB, free: 12.22 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.003698/0.4479, allocations: 1.397 MB / 1.164 GB, free: 10.79 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.4479, allocations: 59.41 kB / 1.164 GB, free: 10.72 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/0.4508, allocations: 2.356 MB / 1.166 GB, free: 8.344 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.213e-05/0.4509, allocations: 41.7 kB / 1.166 GB, free: 8.297 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008717/0.4517, allocations: 0.9997 MB / 1.167 GB, free: 7.285 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.4519, allocations: 169.7 kB / 1.167 GB, free: 7.117 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.4521, allocations: 137.6 kB / 1.167 GB, free: 6.977 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.4522, allocations: 361.9 kB / 1.168 GB, free: 6.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009155/0.4531, allocations: 0.4945 MB / 1.168 GB, free: 6.121 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.4544, allocations: 0.9815 MB / 1.169 GB, free: 4.918 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.4564, allocations: 1.351 MB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.4564, allocations: 4 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003541/0.4599, allocations: 1.807 MB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000288/0.4602, allocations: 457.5 kB / 1.173 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.4603, allocations: 16 kB / 1.173 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00067/0.4609, allocations: 188.7 kB / 1.173 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008178/0.4618, allocations: 227.6 kB / 1.173 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006638/0.4625, allocations: 0.7692 MB / 1.174 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.464, allocations: 124.7 kB / 1.174 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.4641, allocations: 55.97 kB / 1.174 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.4642, allocations: 4 kB / 1.174 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002614/0.4668, allocations: 1.58 MB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.4668, allocations: 12 kB / 1.176 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/0.4671, allocations: 128.8 kB / 1.176 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/0.4678, allocations: 223.6 kB / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.4699, allocations: 2.13 MB / 1.178 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.4712, allocations: 122.1 kB / 1.178 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.4713, allocations: 51.98 kB / 1.178 GB, free: 11.16 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.001096/0.4724, allocations: 0.6958 MB / 1.179 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.4727, allocations: 209.3 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/0.4749, allocations: 1.033 MB / 1.18 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4749, allocations: 4 kB / 1.18 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.4749, allocations: 4 kB / 1.18 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/0.4765, allocations: 0.9779 MB / 1.181 GB, free: 8.148 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.00385/0.4804, allocations: 2.374 MB / 1.183 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4804, allocations: 0 / 1.183 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.4809, allocations: 91.86 kB / 1.183 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002834/0.4812, allocations: 124.8 kB / 1.183 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.4812, allocations: 15.98 kB / 1.183 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005384/0.4818, allocations: 0.7357 MB / 1.184 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4818, allocations: 0 / 1.184 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002628/0.4844, allocations: 1.433 MB / 1.186 GB, free: 3.238 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006896/0.4851, allocations: 374.3 kB / 1.186 GB, free: 2.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.4853, allocations: 11.94 kB / 1.186 GB, free: 2.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000906/0.4863, allocations: 87.88 kB / 1.186 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4864, allocations: 40.39 kB / 1.186 GB, free: 2.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.4864, allocations: 19.98 kB / 1.186 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002214/0.4886, allocations: 1.607 MB / 1.188 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4887, allocations: 4 kB / 1.188 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002634/0.4913, allocations: 0.9478 MB / 1.189 GB, free: 128 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.001182/0.4925, allocations: 0.5052 MB / 1.189 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003642/0.4961, allocations: 2.021 MB / 1.191 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4962, allocations: 0 / 1.191 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007728/0.4969, allocations: 351.5 kB / 1.191 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00426/0.5012, allocations: 0.9244 MB / 1.192 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007308/0.5085, allocations: 4.352 MB / 1.197 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/0.5098, allocations: 1.678 MB / 1.198 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002124/0.512, allocations: 0.536 MB / 1.199 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.5124, allocations: 159.4 kB / 1.199 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of SimCode: time 8.12e-07/0.5124, allocations: 4 kB / 1.199 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of Templates: time 0.07399/0.5864, allocations: 37.9 MB / 1.236 GB, free: 64 kB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)