Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001592/0.001592, allocations: 195.1 kB / 16.14 MB, free: 6.656 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.48 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3329, allocations: 159.9 MB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02924/0.3622, allocations: 29.9 MB / 1.097 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0187/0.381, allocations: 11.87 MB / 1.108 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.3831, allocations: 43.75 kB / 1.108 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00803/0.3912, allocations: 3.796 MB / 1.112 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004129/0.3953, allocations: 1.4 MB / 1.113 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00354/0.3989, allocations: 1.258 MB / 1.115 GB, free: 10.52 MB / 0.8731 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.002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.0101/0.409, allocations: 7.999 MB / 1.122 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002013/0.411, allocations: 1.173 MB / 1.124 GB, free: 1.301 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00272/0.4138, allocations: 1.26 MB / 1.125 GB, free: 36 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.4156, allocations: 1.124 MB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.4158, allocations: 64 kB / 1.126 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.4186, allocations: 1.275 MB / 1.127 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005117/0.4191, allocations: 482.2 kB / 1.128 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.4203, allocations: 0.8974 MB / 1.129 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.4241, allocations: 2.944 MB / 1.131 GB, free: 9.238 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.4241, allocations: 7.984 kB / 1.131 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4241, allocations: 0 / 1.131 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.9e-05/0.4242, allocations: 3.938 kB / 1.131 GB, free: 9.227 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003813/0.428, allocations: 2.343 MB / 1.134 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4281, allocations: 12.03 kB / 1.134 GB, free: 6.801 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.4299, allocations: 381.2 kB / 1.134 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003789/0.4337, allocations: 2.332 MB / 1.136 GB, free: 4.043 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.648e-05/0.4339, allocations: 70.23 kB / 1.136 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.434, allocations: 84 kB / 1.137 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.4359, allocations: 1.012 MB / 1.138 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.4359, allocations: 3.984 kB / 1.138 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.149e-05/0.436, allocations: 36 kB / 1.138 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.436, allocations: 16 kB / 1.138 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.4377, allocations: 0.7688 MB / 1.138 GB, free: 2.004 MB / 0.8887 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.006588/0.4443, allocations: 5.341 MB / 1.144 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.4457, allocations: 0.5834 MB / 1.144 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007052/0.4464, allocations: 330.7 kB / 1.144 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002431/0.4489, allocations: 1.635 MB / 1.146 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007503/0.4496, allocations: 331 kB / 1.146 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004699/0.4501, allocations: 111.3 kB / 1.146 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.695e-06/0.4501, allocations: 0 / 1.146 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.003344/0.4535, allocations: 1.228 MB / 1.148 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.4535, allocations: 63.34 kB / 1.148 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/0.4559, allocations: 1.842 MB / 1.15 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.4559, allocations: 37.7 kB / 1.15 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006537/0.4566, allocations: 0.7792 MB / 1.15 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.4568, allocations: 157.9 kB / 1.15 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/0.4571, allocations: 262.3 kB / 1.151 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4572, allocations: 357.9 kB / 1.151 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008367/0.4581, allocations: 460.8 kB / 1.151 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.4592, allocations: 0.8358 MB / 1.152 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.461, allocations: 1.157 MB / 1.153 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.461, allocations: 4 kB / 1.153 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003155/0.4642, allocations: 1.583 MB / 1.155 GB, free: 15.97 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.4642, allocations: 41.69 kB / 1.155 GB, free: 15.93 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.4642, allocations: 8 kB / 1.155 GB, free: 15.92 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007035/0.465, allocations: 189.1 kB / 1.155 GB, free: 15.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/0.4657, allocations: 203.7 kB / 1.155 GB, free: 15.53 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008996/0.4666, allocations: 0.7707 MB / 1.156 GB, free: 14.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.4684, allocations: 92.64 kB / 1.156 GB, free: 14.64 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.4685, allocations: 51.98 kB / 1.156 GB, free: 14.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001593/0.4701, allocations: 0.8574 MB / 1.157 GB, free: 13.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001057/0.4712, allocations: 0.8217 MB / 1.158 GB, free: 12.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001622/0.4728, allocations: 1.132 MB / 1.159 GB, free: 11.49 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.039e-05/0.4728, allocations: 4 kB / 1.159 GB, free: 11.49 MB / 0.92 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002879/0.4757, allocations: 1.58 MB / 1.161 GB, free: 9.871 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.4758, allocations: 33.7 kB / 1.161 GB, free: 9.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.4758, allocations: 12.03 kB / 1.161 GB, free: 9.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000257/0.476, allocations: 104.8 kB / 1.161 GB, free: 9.715 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.4767, allocations: 191.7 kB / 1.161 GB, free: 9.527 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.4789, allocations: 2.169 MB / 1.163 GB, free: 7.207 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4803, allocations: 100.4 kB / 1.163 GB, free: 7.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.4805, allocations: 44 kB / 1.163 GB, free: 7.066 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 102 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.4808, allocations: 243.1 kB / 1.163 GB, free: 6.824 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004464/0.4812, allocations: 169.8 kB / 1.164 GB, free: 6.656 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002313/0.4836, allocations: 0.9042 MB / 1.164 GB, free: 5.742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.4836, allocations: 19.92 kB / 1.164 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4836, allocations: 0 / 1.164 GB, free: 5.723 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001564/0.4852, allocations: 0.8803 MB / 1.165 GB, free: 4.77 MB / 0.92 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.004265/0.4895, allocations: 2.048 MB / 1.167 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.4895, allocations: 112 / 1.167 GB, free: 2.637 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.49, allocations: 87.8 kB / 1.167 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002962/0.4903, allocations: 120.8 kB / 1.168 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.4903, allocations: 12 kB / 1.168 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006356/0.491, allocations: 0.7474 MB / 1.168 GB, free: 1.645 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.491, allocations: 11.81 kB / 1.168 GB, free: 1.633 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.4937, allocations: 1.239 MB / 1.169 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/0.4944, allocations: 310.8 kB / 1.17 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/0.4948, allocations: 12 kB / 1.17 GB, free: 28 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.4959, allocations: 71.98 kB / 1.17 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.496, allocations: 36.39 kB / 1.17 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.4961, allocations: 27.97 kB / 1.17 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002453/0.4986, allocations: 1.242 MB / 1.171 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4986, allocations: 0 / 1.171 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003066/0.5016, allocations: 0.8073 MB / 1.172 GB, free: 13.82 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 (38): * Single equations (assignments): 32 * 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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001476/0.5031, allocations: 0.4975 MB / 1.172 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003962/0.5071, allocations: 1.862 MB / 1.174 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.5071, allocations: 0 / 1.174 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009304/0.5081, allocations: 327.5 kB / 1.175 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004189/0.5123, allocations: 0.7396 MB / 1.175 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007198/0.5195, allocations: 3.536 MB / 1.179 GB, free: 6.801 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.521, allocations: 1.444 MB / 1.18 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002043/0.5231, allocations: 429.3 kB / 1.181 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004947/0.5236, allocations: 131.4 kB / 1.181 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of SimCode: time 1.002e-06/0.5236, allocations: 3.938 kB / 1.181 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of Templates: time 0.05487/0.5785, allocations: 32.06 MB / 1.212 GB, free: 5.078 MB / 0.9669 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)