Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 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.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008289/0.0008292, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.00595/0.00595, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.351/1.351, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.724/2.724, allocations: 473.4 MB / 0.7469 GB, free: 5.996 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004515, allocations: 10.34 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.371, allocations: 162.2 MB / 1.074 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.0751/0.4462, allocations: 79.05 MB / 1.151 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03029/0.4765, allocations: 20.99 MB / 1.172 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005425/0.482, allocations: 91.44 kB / 1.172 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.009963/0.492, allocations: 4.142 MB / 1.176 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01161/0.5037, allocations: 2.644 MB / 1.179 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008019/0.5117, allocations: 2.186 MB / 1.181 GB, free: 10.05 MB / 0.9356 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.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.03775/0.5495, allocations: 38.98 MB / 1.219 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02012/0.5696, allocations: 14.95 MB / 1.233 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02039/0.5901, allocations: 9.116 MB / 1.242 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.181/1.771, allocations: 11.34 MB / 1.253 GB, free: 36.27 MB / 0.9982 GB Notification: Performance of NFPackage.collectConstants: time 0.005505/1.777, allocations: 0.8086 MB / 1.254 GB, free: 36.27 MB / 0.9982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01052/1.787, allocations: 2.277 MB / 1.256 GB, free: 36.27 MB / 0.9982 GB Notification: Performance of NFScalarize.scalarize: time 0.006376/1.794, allocations: 3.162 MB / 1.259 GB, free: 36.27 MB / 0.9982 GB Notification: Performance of NFVerifyModel.verify: time 0.01444/1.808, allocations: 5.965 MB / 1.265 GB, free: 36.24 MB / 0.9982 GB Notification: Performance of NFConvertDAE.convert: time 0.03173/1.84, allocations: 18.13 MB / 1.283 GB, free: 34.96 MB / 0.9982 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.84, allocations: 2.031 kB / 1.283 GB, free: 34.96 MB / 0.9982 GB Notification: Performance of FrontEnd: time 3.907e-06/1.84, allocations: 0 / 1.283 GB, free: 34.96 MB / 0.9982 GB Notification: Performance of Transformations before backend: time 0.0008359/1.841, allocations: 0.6562 kB / 1.283 GB, free: 34.96 MB / 0.9982 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.04706/1.888, allocations: 13.31 MB / 1.296 GB, free: 30.61 MB / 0.9982 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.888, allocations: 8.812 kB / 1.296 GB, free: 30.61 MB / 0.9982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01316/1.901, allocations: 1.414 MB / 1.297 GB, free: 30.06 MB / 0.9982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02827/1.929, allocations: 11.04 MB / 1.308 GB, free: 28.48 MB / 0.9982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006236/1.93, allocations: 441.2 kB / 1.309 GB, free: 28.47 MB / 0.9982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005556/1.936, allocations: 0.5803 MB / 1.309 GB, free: 28.47 MB / 0.9982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04451/1.98, allocations: 14.67 MB / 1.323 GB, free: 27.3 MB / 0.9982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003174/1.98, allocations: 25.06 kB / 1.323 GB, free: 27.3 MB / 0.9982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004682/1.985, allocations: 241.7 kB / 1.324 GB, free: 27.3 MB / 0.9982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/1.985, allocations: 141 kB / 1.324 GB, free: 27.3 MB / 0.9982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03861/2.024, allocations: 19.84 MB / 1.343 GB, free: 23.93 MB / 0.9982 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.1403/2.164, allocations: 66.55 MB / 1.408 GB, free: 8.289 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/2.181, allocations: 9.228 MB / 1.417 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0144/2.196, allocations: 8.615 MB / 1.426 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06675/2.263, allocations: 30.7 MB / 1.456 GB, free: 7.465 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0125/2.275, allocations: 7.669 MB / 1.463 GB, free: 15.75 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03237/2.307, allocations: 11.77 MB / 1.475 GB, free: 4.105 MB / 1.092 GB Notification: Performance of pre-optimization done (n=299): time 2.708e-05/2.308, allocations: 0 / 1.475 GB, free: 4.105 MB / 1.092 GB Notification: Performance of matching and sorting (n=299): time 0.06063/2.368, allocations: 23.94 MB / 1.498 GB, free: 12.07 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/2.368, allocations: 96.67 kB / 1.498 GB, free: 11.96 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02003/2.388, allocations: 8.605 MB / 1.506 GB, free: 3.398 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.003144/2.392, allocations: 101.7 kB / 1.507 GB, free: 3.293 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.005387/2.397, allocations: 4.21 MB / 1.511 GB, free: 15.08 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.003789/2.401, allocations: 1.083 MB / 1.512 GB, free: 14.01 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002953/2.404, allocations: 440.7 kB / 1.512 GB, free: 13.57 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.778e-05/2.404, allocations: 305.1 kB / 1.512 GB, free: 13.27 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01292/2.417, allocations: 6.723 MB / 1.519 GB, free: 6.535 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01426/2.431, allocations: 8.588 MB / 1.527 GB, free: 13.12 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02544/2.456, allocations: 15.61 MB / 1.543 GB, free: 12.99 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.066e-05/2.457, allocations: 12 kB / 1.543 GB, free: 12.98 MB / 1.17 GB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0408/2.497, allocations: 18 MB / 1.56 GB, free: 11.25 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.001516/2.499, allocations: 1.583 MB / 1.562 GB, free: 9.012 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001013/2.499, allocations: 48 kB / 1.562 GB, free: 8.965 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07585/2.575, allocations: 11.39 MB / 1.573 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/2.585, allocations: 1.615 MB / 1.575 GB, free: 12.06 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/2.597, allocations: 6.692 MB / 1.581 GB, free: 5.188 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01665/2.613, allocations: 0.5392 MB / 1.582 GB, free: 4.648 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003662/2.617, allocations: 0.5614 MB / 1.582 GB, free: 4.09 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/2.617, allocations: 4 kB / 1.582 GB, free: 4.086 MB / 1.201 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04202/2.659, allocations: 17.08 MB / 1.599 GB, free: 3.266 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002067/2.659, allocations: 48 kB / 1.599 GB, free: 3.219 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07319/2.732, allocations: 10.93 MB / 1.61 GB, free: 8.309 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/2.743, allocations: 1.616 MB / 1.611 GB, free: 6.758 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/2.758, allocations: 10.61 MB / 1.621 GB, free: 11.77 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01387/2.772, allocations: 0.5296 MB / 1.622 GB, free: 11.23 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003728/2.776, allocations: 0.5499 MB / 1.623 GB, free: 10.68 MB / 1.248 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.01288/2.789, allocations: 2.773 MB / 1.625 GB, free: 7.969 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005726/2.795, allocations: 0.7948 MB / 1.626 GB, free: 7.164 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0401/2.835, allocations: 14.23 MB / 1.64 GB, free: 8.938 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-05/2.835, allocations: 36 kB / 1.64 GB, free: 8.902 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/2.835, allocations: 0 / 1.64 GB, free: 8.902 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02194/2.857, allocations: 10.81 MB / 1.65 GB, free: 14.04 MB / 1.279 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.05806/2.915, allocations: 24.77 MB / 1.675 GB, free: 5.258 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/2.915, allocations: 4 kB / 1.675 GB, free: 5.254 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006238/2.921, allocations: 0.6936 MB / 1.675 GB, free: 4.59 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0718/2.993, allocations: 10.27 MB / 1.685 GB, free: 10.35 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001631/2.995, allocations: 99.94 kB / 1.685 GB, free: 10.25 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005805/3.001, allocations: 4.709 MB / 1.69 GB, free: 5.352 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/3.001, allocations: 4 kB / 1.69 GB, free: 5.348 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04025/3.041, allocations: 19.33 MB / 1.709 GB, free: 1.965 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009567/3.051, allocations: 1.997 MB / 1.711 GB, free: 15.94 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004866/3.056, allocations: 75.97 kB / 1.711 GB, free: 15.86 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01066/3.066, allocations: 394.9 kB / 1.711 GB, free: 15.48 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002066/3.068, allocations: 214.5 kB / 1.712 GB, free: 15.27 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001699/3.07, allocations: 159.9 kB / 1.712 GB, free: 15.11 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01581/3.086, allocations: 5.903 MB / 1.717 GB, free: 9.246 MB / 1.342 GB Notification: Performance of sort global known variables: time 6.21e-07/3.086, allocations: 7.562 kB / 1.717 GB, free: 9.242 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.03074/3.117, allocations: 5.011 MB / 1.722 GB, free: 4.223 MB / 1.342 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.004065/3.121, allocations: 0.7093 MB / 1.723 GB, free: 3.566 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.05104/3.172, allocations: 24.98 MB / 1.747 GB, free: 10.82 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/3.172, allocations: 4 kB / 1.747 GB, free: 10.81 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.01357/3.185, allocations: 6.419 MB / 1.754 GB, free: 4.434 MB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6527/3.838, allocations: 4.831 MB / 1.758 GB, free: 0.5112 GB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04847/3.887, allocations: 24.75 MB / 1.783 GB, free: 0.5033 GB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008984/3.896, allocations: 5.434 MB / 1.788 GB, free: 0.5024 GB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.0286/3.924, allocations: 5.293 MB / 1.793 GB, free: 0.5014 GB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007939/3.932, allocations: 0.9321 MB / 1.794 GB, free: 0.5014 GB / 1.373 GB Notification: Performance of SimCode: time 1.873e-06/3.932, allocations: 0 / 1.794 GB, free: 0.5014 GB / 1.373 GB Notification: Performance of Templates: time 0.3427/4.275, allocations: 224.3 MB / 2.013 GB, free: 309.8 MB / 1.373 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)