Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001258/0.001258, allocations: 194.3 kB / 16.14 MB, free: 6.688 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 62.92 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3308, allocations: 159.9 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.0645/0.3954, allocations: 72.31 MB / 1.138 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02793/0.4233, allocations: 18.97 MB / 1.157 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004079/0.4275, allocations: 87.5 kB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.009462/0.437, allocations: 4.041 MB / 1.161 GB, free: 11.2 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.007008/0.444, allocations: 2.247 MB / 1.163 GB, free: 8.945 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00522/0.4493, allocations: 1.895 MB / 1.165 GB, free: 7.062 MB / 0.92 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.01534/0.4646, allocations: 13.6 MB / 1.178 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007704/0.4723, allocations: 5.669 MB / 1.184 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006525/0.4789, allocations: 2.839 MB / 1.186 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004562/0.4835, allocations: 2.571 MB / 1.189 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001432/0.4849, allocations: 164 kB / 1.189 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005158/0.4901, allocations: 1.474 MB / 1.19 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.4917, allocations: 0.8052 MB / 1.191 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.004022/0.4957, allocations: 1.826 MB / 1.193 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00742/0.5031, allocations: 5.171 MB / 1.198 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5032, allocations: 4 kB / 1.198 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5032, allocations: 0 / 1.198 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002027/0.5034, allocations: 0 / 1.198 GB, free: 4.797 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 402 * Number of variables: 402 Notification: Performance of Generate backend data structure: time 0.009191/0.5126, allocations: 4.354 MB / 1.202 GB, free: 364 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.5126, allocations: 12.03 kB / 1.202 GB, free: 352 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/0.5158, allocations: 0.6745 MB / 1.203 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006591/0.5224, allocations: 3.664 MB / 1.207 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.5226, allocations: 147.7 kB / 1.207 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/0.523, allocations: 196 kB / 1.207 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.527, allocations: 2.34 MB / 1.209 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.583e-05/0.527, allocations: 3.938 kB / 1.209 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.5272, allocations: 72 kB / 1.209 GB, free: 9.051 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.5272, allocations: 40 kB / 1.209 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003723/0.531, allocations: 1.927 MB / 1.211 GB, free: 7.078 MB / 0.9669 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.01477/0.5457, allocations: 11.63 MB / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.5486, allocations: 1.355 MB / 1.224 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/0.5503, allocations: 1.017 MB / 1.225 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00685/0.5572, allocations: 3.714 MB / 1.228 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001604/0.5588, allocations: 0.7779 MB / 1.229 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001696/0.5605, allocations: 294.8 kB / 1.229 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=95): time 2.886e-06/0.5605, allocations: 0 / 1.229 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of matching and sorting (n=95): time 0.01146/0.572, allocations: 4.201 MB / 1.234 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.572, allocations: 60.41 kB / 1.234 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0049/0.5769, allocations: 3.443 MB / 1.237 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.5771, allocations: 53.7 kB / 1.237 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.5784, allocations: 1.559 MB / 1.239 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.5787, allocations: 343.2 kB / 1.239 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006606/0.5794, allocations: 447.4 kB / 1.239 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.5795, allocations: 305.1 kB / 1.24 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.5811, allocations: 0.8566 MB / 1.24 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.5833, allocations: 1.649 MB / 1.242 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.5868, allocations: 2.214 MB / 1.244 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.5869, allocations: 4 kB / 1.244 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006686/0.5935, allocations: 3.299 MB / 1.247 GB, free: 276 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.5936, allocations: 41.7 kB / 1.247 GB, free: 228 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.5936, allocations: 12 kB / 1.247 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5541/1.148, allocations: 0.6867 MB / 1.248 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001895/1.15, allocations: 347.7 kB / 1.248 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/1.152, allocations: 1.906 MB / 1.25 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003093/1.155, allocations: 191.5 kB / 1.251 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003628/1.156, allocations: 94.39 kB / 1.251 GB, free: 173.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003555/1.159, allocations: 1.571 MB / 1.252 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002269/1.162, allocations: 1.621 MB / 1.254 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003385/1.165, allocations: 2.152 MB / 1.256 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.773e-05/1.165, allocations: 6.688 kB / 1.256 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.005651/1.171, allocations: 3.167 MB / 1.259 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/1.171, allocations: 43.02 kB / 1.259 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/1.171, allocations: 19.3 kB / 1.259 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009102/1.172, allocations: 475.3 kB / 1.259 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/1.173, allocations: 344.5 kB / 1.26 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006638/1.18, allocations: 5.847 MB / 1.266 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002784/1.183, allocations: 216.6 kB / 1.266 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/1.183, allocations: 83.27 kB / 1.266 GB, free: 167.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (167): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0006352/1.183, allocations: 299 kB / 1.266 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000918/1.184, allocations: 329.4 kB / 1.266 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005458/1.19, allocations: 2.338 MB / 1.269 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/1.19, allocations: 11.02 kB / 1.269 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.19, allocations: 5.125 kB / 1.269 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004064/1.194, allocations: 2.003 MB / 1.271 GB, free: 165.3 MB / 0.9981 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.01052/1.205, allocations: 4.526 MB / 1.275 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.205, allocations: 0 / 1.275 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008489/1.205, allocations: 146.8 kB / 1.275 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/1.207, allocations: 488.9 kB / 1.276 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/1.207, allocations: 25.88 kB / 1.276 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/1.208, allocations: 1.859 MB / 1.278 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/1.208, allocations: 1.188 kB / 1.278 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007143/1.216, allocations: 3.092 MB / 1.281 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/1.218, allocations: 0.5157 MB / 1.281 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001319/1.219, allocations: 17.8 kB / 1.281 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002535/1.222, allocations: 158.1 kB / 1.281 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/1.222, allocations: 68.22 kB / 1.281 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.222, allocations: 42.33 kB / 1.281 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006247/1.228, allocations: 2.33 MB / 1.284 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/1.228, allocations: 1.219 kB / 1.284 GB, free: 159.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.006368/1.235, allocations: 1.521 MB / 1.285 GB, free: 159.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (57): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001688/1.236, allocations: 0.5696 MB / 1.286 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007287/1.244, allocations: 3.658 MB / 1.289 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.244, allocations: 3.172 kB / 1.289 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001594/1.245, allocations: 0.7601 MB / 1.29 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008237/1.254, allocations: 1.364 MB / 1.291 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.266, allocations: 6.899 MB / 1.298 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002149/1.268, allocations: 2.216 MB / 1.3 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00371/1.271, allocations: 0.783 MB / 1.301 GB, free: 152 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008208/1.272, allocations: 221.6 kB / 1.301 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.312e-06/1.272, allocations: 0 / 1.301 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.08739/1.36, allocations: 59.26 MB / 1.359 GB, free: 96 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)