Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001523/0.001523, allocations: 102.9 kB / 16.64 MB, free: 6.824 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.001307/0.001307, allocations: 197.9 kB / 17.57 MB, free: 5.93 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.373/1.373, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7812/0.7812, allocations: 122.9 MB / 414.2 MB, free: 80 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001506, allocations: 59.91 kB / 0.4912 GB, free: 7.832 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4245, allocations: 77.92 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.02646/0.451, allocations: 29.79 MB / 0.5964 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01596/0.467, allocations: 11.65 MB / 0.6078 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.4696, allocations: 51.28 kB / 0.6078 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007758/0.4774, allocations: 3.921 MB / 0.6117 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00471/0.4821, allocations: 1.416 MB / 0.6131 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003813/0.4859, allocations: 1.296 MB / 0.6143 GB, free: 10.81 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.009465/0.4954, allocations: 6.835 MB / 0.621 GB, free: 3.961 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.4976, allocations: 1.377 MB / 0.6223 GB, free: 2.551 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003527/0.5011, allocations: 1.474 MB / 0.6238 GB, free: 1.074 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.5029, allocations: 1.159 MB / 0.6249 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002137/0.5031, allocations: 124 kB / 0.625 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.5059, allocations: 1.299 MB / 0.6263 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005558/0.5065, allocations: 0.5295 MB / 0.6268 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.5077, allocations: 0.9638 MB / 0.6278 GB, free: 12.99 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003145/0.5108, allocations: 2.327 MB / 0.63 GB, free: 10.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5108, allocations: 0 / 0.63 GB, free: 10.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5108, allocations: 0 / 0.63 GB, free: 10.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.334e-05/0.5109, allocations: 4 kB / 0.63 GB, free: 10.65 MB / 478.1 MB 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.004055/0.5149, allocations: 2.355 MB / 0.6323 GB, free: 8.227 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.515, allocations: 8.625 kB / 0.6323 GB, free: 8.219 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.5169, allocations: 385.2 kB / 0.6327 GB, free: 7.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/0.5209, allocations: 2.329 MB / 0.635 GB, free: 5.465 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.507e-05/0.521, allocations: 66.23 kB / 0.635 GB, free: 5.398 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.5211, allocations: 84 kB / 0.6351 GB, free: 5.316 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/0.5231, allocations: 1.018 MB / 0.6361 GB, free: 4.246 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.5231, allocations: 4 kB / 0.6361 GB, free: 4.242 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/0.5232, allocations: 35.98 kB / 0.6362 GB, free: 4.207 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.5232, allocations: 20 kB / 0.6362 GB, free: 4.188 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.525, allocations: 0.7687 MB / 0.6369 GB, free: 3.414 MB / 478.1 MB 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.007278/0.5322, allocations: 5.335 MB / 0.6421 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.5337, allocations: 0.5775 MB / 0.6427 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007422/0.5344, allocations: 334 kB / 0.643 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002775/0.5372, allocations: 1.643 MB / 0.6446 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007893/0.538, allocations: 335 kB / 0.6449 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006522/0.5387, allocations: 87.25 kB / 0.645 GB, free: 10.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=43): time 4.368e-06/0.5387, allocations: 0 / 0.645 GB, free: 10.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.00363/0.5424, allocations: 1.239 MB / 0.6462 GB, free: 9.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.5424, allocations: 63.41 kB / 0.6463 GB, free: 9.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.5456, allocations: 1.838 MB / 0.6481 GB, free: 7.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.822e-05/0.5457, allocations: 45.69 kB / 0.6481 GB, free: 7.297 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007908/0.5465, allocations: 0.7793 MB / 0.6489 GB, free: 6.508 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.5466, allocations: 157.8 kB / 0.649 GB, free: 6.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004187/0.5471, allocations: 262.3 kB / 0.6493 GB, free: 6.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5472, allocations: 361.9 kB / 0.6496 GB, free: 5.727 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008738/0.5481, allocations: 460.9 kB / 0.6501 GB, free: 5.277 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.5493, allocations: 0.8393 MB / 0.6509 GB, free: 4.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/0.5512, allocations: 1.169 MB / 0.652 GB, free: 2.977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.5512, allocations: 4 kB / 0.652 GB, free: 2.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003309/0.5546, allocations: 1.604 MB / 0.6536 GB, free: 1.355 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.5546, allocations: 33.7 kB / 0.6536 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.5546, allocations: 8 kB / 0.6537 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000691/0.5553, allocations: 189.2 kB / 0.6538 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/0.5561, allocations: 203.6 kB / 0.654 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008173/0.5569, allocations: 0.7689 MB / 0.6548 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/0.5582, allocations: 105.6 kB / 0.6549 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.5584, allocations: 44.03 kB / 0.6549 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001544/0.5599, allocations: 0.866 MB / 0.6558 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001145/0.5611, allocations: 0.812 MB / 0.6566 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001689/0.5628, allocations: 1.141 MB / 0.6577 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.205e-06/0.5628, allocations: 3.938 kB / 0.6577 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002909/0.5657, allocations: 1.586 MB / 0.6592 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.5658, allocations: 37.7 kB / 0.6593 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.5658, allocations: 8.562 kB / 0.6593 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.5661, allocations: 112.8 kB / 0.6594 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006906/0.5668, allocations: 191.7 kB / 0.6596 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002588/0.5694, allocations: 2.419 MB / 0.6619 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.5708, allocations: 100.3 kB / 0.662 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.571, allocations: 44 kB / 0.6621 GB, free: 8.176 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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.0003633/0.5713, allocations: 243.9 kB / 0.6623 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005094/0.5718, allocations: 177.8 kB / 0.6625 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.5743, allocations: 0.9002 MB / 0.6633 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.488e-05/0.5744, allocations: 8 kB / 0.6633 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5744, allocations: 0 / 0.6633 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001621/0.576, allocations: 0.9076 MB / 0.6642 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004295/0.5803, allocations: 1.998 MB / 0.6662 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.5803, allocations: 3.938 kB / 0.6662 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.5808, allocations: 84 kB / 0.6663 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003071/0.5811, allocations: 127.9 kB / 0.6664 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.898e-05/0.5812, allocations: 16 kB / 0.6664 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006566/0.5818, allocations: 0.7473 MB / 0.6671 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5819, allocations: 0 / 0.6671 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/0.5846, allocations: 1.247 MB / 0.6684 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007537/0.5853, allocations: 306.9 kB / 0.6686 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003713/0.5857, allocations: 15.92 kB / 0.6687 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009734/0.5867, allocations: 71.94 kB / 0.6687 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.5868, allocations: 36.39 kB / 0.6688 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.288e-05/0.5869, allocations: 23.97 kB / 0.6688 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002173/0.5891, allocations: 1.25 MB / 0.67 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5891, allocations: 0 / 0.67 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002881/0.592, allocations: 0.8073 MB / 0.6708 GB, free: 14.96 MB / 0.5137 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 (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 {(5,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/0.5938, allocations: 0.5004 MB / 0.6713 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005465/0.5992, allocations: 1.931 MB / 0.6732 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.5993, allocations: 0 / 0.6732 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.6005, allocations: 343.5 kB / 0.6735 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005296/0.6058, allocations: 0.7985 MB / 0.6743 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.6159, allocations: 3.63 MB / 0.6778 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/0.618, allocations: 1.434 MB / 0.6792 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007006/0.6187, allocations: 139.4 kB / 0.6794 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of SimCode: time 1.222e-06/0.6187, allocations: 0 / 0.6794 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of Templates: time 0.07555/0.6943, allocations: 36.58 MB / 0.7151 GB, free: 1.762 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1)