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.0008577/0.0008579, allocations: 99.12 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 183.7 kB / 16.92 MB, free: 6.754 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.34/1.34, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6718/0.6718, allocations: 115.4 MB / 407.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002975, allocations: 8 kB / 495.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1384, allocations: 77.51 MB / 0.5598 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v2): time 0.3391/0.4775, allocations: 78.99 MB / 0.6369 GB, free: 3.23 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0331/0.5107, allocations: 20.98 MB / 0.6574 GB, free: 2.453 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00508/0.5158, allocations: 95.03 kB / 0.6575 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009085/0.5249, allocations: 4.16 MB / 0.6616 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008315/0.5332, allocations: 2.635 MB / 0.6641 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006162/0.5394, allocations: 2.193 MB / 0.6663 GB, free: 10.62 MB / 494.1 MB [/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.03762/0.577, allocations: 38.98 MB / 0.7043 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0243/0.6014, allocations: 14.96 MB / 0.719 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02042/0.6218, allocations: 9.113 MB / 0.7279 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02265/0.6445, allocations: 11.36 MB / 0.7389 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00454/0.6491, allocations: 0.8125 MB / 0.7397 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009922/0.659, allocations: 2.279 MB / 0.742 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.007497/0.6666, allocations: 3.161 MB / 0.745 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01421/0.6808, allocations: 5.963 MB / 0.7509 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.02831/0.7091, allocations: 18.15 MB / 0.7686 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.7092, allocations: 0 / 0.7686 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.685e-06/0.7092, allocations: 0 / 0.7686 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0005757/0.7098, allocations: 0 / 0.7686 GB, free: 1.465 MB / 0.5762 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.03482/0.7446, allocations: 13.31 MB / 0.7816 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.7447, allocations: 12.03 kB / 0.7816 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00895/0.7536, allocations: 1.421 MB / 0.783 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02594/0.7796, allocations: 11.03 MB / 0.7938 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005421/0.7802, allocations: 440.1 kB / 0.7942 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003517/0.7837, allocations: 0.5857 MB / 0.7948 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03353/0.8173, allocations: 14.66 MB / 0.8091 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003273/0.8176, allocations: 15.94 kB / 0.8091 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003127/0.8208, allocations: 240 kB / 0.8093 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001312/0.8209, allocations: 140 kB / 0.8095 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3284/1.149, allocations: 19.84 MB / 0.8288 GB, free: 197.2 MB / 0.6231 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.09659/1.246, allocations: 66.56 MB / 0.8938 GB, free: 145.6 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0117/1.258, allocations: 9.218 MB / 0.9028 GB, free: 136.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009662/1.267, allocations: 8.612 MB / 0.9112 GB, free: 127.7 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04752/1.315, allocations: 30.7 MB / 0.9412 GB, free: 96.75 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008967/1.324, allocations: 7.663 MB / 0.9487 GB, free: 89.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02622/1.35, allocations: 11.77 MB / 0.9602 GB, free: 77.4 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=299): time 2.229e-05/1.35, allocations: 0 / 0.9602 GB, free: 77.4 MB / 0.6231 GB Notification: Performance of matching and sorting (n=299): time 0.04652/1.397, allocations: 23.96 MB / 0.9836 GB, free: 53.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/1.397, allocations: 81.77 kB / 0.9837 GB, free: 53.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02074/1.418, allocations: 8.609 MB / 0.9921 GB, free: 44.66 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.002766/1.42, allocations: 99.03 kB / 0.9922 GB, free: 44.56 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.007178/1.428, allocations: 4.221 MB / 0.9963 GB, free: 40.34 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.004336/1.432, allocations: 1.078 MB / 0.9973 GB, free: 39.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003559/1.436, allocations: 444.7 kB / 0.9978 GB, free: 38.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 5.075e-05/1.436, allocations: 301.1 kB / 0.9981 GB, free: 38.53 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01942/1.455, allocations: 6.723 MB / 1.005 GB, free: 31.79 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02073/1.476, allocations: 8.587 MB / 1.013 GB, free: 22.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04048/1.516, allocations: 15.62 MB / 1.028 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.629e-05/1.517, allocations: 16 kB / 1.028 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of matching and sorting (n=645) (initialization): time 0.06571/1.582, allocations: 17.98 MB / 1.046 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001937/1.584, allocations: 1.581 MB / 1.047 GB, free: 1.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001293/1.584, allocations: 52 kB / 1.047 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1168/1.701, allocations: 11.39 MB / 1.059 GB, free: 6.281 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009561/1.711, allocations: 1.612 MB / 1.06 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3146/2.026, allocations: 6.706 MB / 1.067 GB, free: 212.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01156/2.037, allocations: 0.5432 MB / 1.067 GB, free: 212.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002557/2.04, allocations: 0.5492 MB / 1.068 GB, free: 212.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/2.04, allocations: 4.5 kB / 1.068 GB, free: 212.4 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03331/2.073, allocations: 17.09 MB / 1.084 GB, free: 208.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001848/2.073, allocations: 49.05 kB / 1.084 GB, free: 208.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06948/2.143, allocations: 10.94 MB / 1.095 GB, free: 207.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008575/2.151, allocations: 1.61 MB / 1.097 GB, free: 207.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/2.164, allocations: 10.59 MB / 1.107 GB, free: 201.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/2.175, allocations: 0.5241 MB / 1.108 GB, free: 201 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002713/2.177, allocations: 0.5499 MB / 1.108 GB, free: 201 MB / 0.6544 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.007266/2.185, allocations: 2.777 MB / 1.111 GB, free: 199.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002971/2.188, allocations: 0.8017 MB / 1.112 GB, free: 199.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02473/2.212, allocations: 14.21 MB / 1.125 GB, free: 189 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.047e-05/2.212, allocations: 41.08 kB / 1.126 GB, free: 189 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/2.212, allocations: 0 / 1.126 GB, free: 189 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01366/2.226, allocations: 10.79 MB / 1.136 GB, free: 178.1 MB / 0.6544 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.03231/2.258, allocations: 24.75 MB / 1.16 GB, free: 153.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.393e-05/2.259, allocations: 8 kB / 1.16 GB, free: 153.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005933/2.264, allocations: 0.7019 MB / 1.161 GB, free: 152.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06531/2.33, allocations: 10.26 MB / 1.171 GB, free: 142.4 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001274/2.331, allocations: 99.94 kB / 1.171 GB, free: 142.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/2.336, allocations: 4.718 MB / 1.176 GB, free: 137.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/2.336, allocations: 0 / 1.176 GB, free: 137.4 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02426/2.36, allocations: 19.33 MB / 1.195 GB, free: 118.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005441/2.365, allocations: 1.998 MB / 1.196 GB, free: 116.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002937/2.368, allocations: 75.97 kB / 1.197 GB, free: 116.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007899/2.376, allocations: 408.7 kB / 1.197 GB, free: 115.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/2.377, allocations: 214.4 kB / 1.197 GB, free: 115.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005836/2.378, allocations: 159.9 kB / 1.197 GB, free: 115.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00876/2.387, allocations: 5.903 MB / 1.203 GB, free: 109.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.6e-07/2.387, allocations: 4 kB / 1.203 GB, free: 109.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0199/2.407, allocations: 5.014 MB / 1.208 GB, free: 104.8 MB / 0.6544 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.00239/2.409, allocations: 0.7181 MB / 1.209 GB, free: 104.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.03578/2.445, allocations: 24.98 MB / 1.233 GB, free: 79.11 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/2.445, allocations: 4 kB / 1.233 GB, free: 79.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008477/2.454, allocations: 6.417 MB / 1.239 GB, free: 72.67 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02772/2.481, allocations: 4.844 MB / 1.244 GB, free: 67.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03425/2.516, allocations: 24.75 MB / 1.268 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005437/2.521, allocations: 5.43 MB / 1.274 GB, free: 37.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0215/2.543, allocations: 5.299 MB / 1.279 GB, free: 32.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007127/2.55, allocations: 0.9281 MB / 1.28 GB, free: 31.49 MB / 0.6544 GB Notification: Performance of SimCode: time 7.71e-07/2.55, allocations: 0 / 1.28 GB, free: 31.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.5484/3.098, allocations: 224.3 MB / 1.499 GB, free: 45.52 MB / 0.6544 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)