Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.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.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") translateModel(IBPSA.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 107.6 kB / 16.52 MB, free: 6.703 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.001508/0.001508, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.352/1.352, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7087/0.7087, allocations: 115.3 MB / 406.6 MB, free: 6.453 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 59.91 kB / 493.5 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3886, allocations: 76.18 MB / 0.5564 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example3): time 0.02963/0.4183, allocations: 32.97 MB / 0.5886 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01778/0.4361, allocations: 12.47 MB / 0.6007 GB, free: 4.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002889/0.439, allocations: 45.31 kB / 0.6008 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008962/0.448, allocations: 3.824 MB / 0.6045 GB, free: 2.094 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005077/0.4531, allocations: 1.509 MB / 0.606 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004241/0.4574, allocations: 1.295 MB / 0.6073 GB, free: 15.98 MB / 462.1 MB [/var/lib/jenkins1/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.01274/0.4702, allocations: 9.433 MB / 0.6165 GB, free: 7.078 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/0.4733, allocations: 1.807 MB / 0.6182 GB, free: 5.238 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00422/0.4775, allocations: 1.618 MB / 0.6198 GB, free: 3.613 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003118/0.4807, allocations: 1.446 MB / 0.6212 GB, free: 2.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004855/0.4812, allocations: 88 kB / 0.6213 GB, free: 2.074 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.485, allocations: 1.318 MB / 0.6226 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008731/0.4859, allocations: 0.533 MB / 0.6231 GB, free: 224 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002028/0.488, allocations: 1.115 MB / 0.6242 GB, free: 15.1 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003856/0.4918, allocations: 2.674 MB / 0.6268 GB, free: 12.42 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.4919, allocations: 4 kB / 0.6268 GB, free: 12.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4919, allocations: 0 / 0.6268 GB, free: 12.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.796e-05/0.492, allocations: 0 / 0.6268 GB, free: 12.41 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.005406/0.4974, allocations: 2.792 MB / 0.6295 GB, free: 9.547 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.4975, allocations: 8.031 kB / 0.6296 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002131/0.4996, allocations: 432.7 kB / 0.63 GB, free: 9.113 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004898/0.5045, allocations: 2.673 MB / 0.6326 GB, free: 6.367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.5047, allocations: 86.27 kB / 0.6327 GB, free: 6.285 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002215/0.5049, allocations: 111.9 kB / 0.6328 GB, free: 6.176 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002522/0.5075, allocations: 1.324 MB / 0.6341 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.5075, allocations: 7.922 kB / 0.6341 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/0.5076, allocations: 40 kB / 0.6341 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.5077, allocations: 28 kB / 0.6341 GB, free: 4.699 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/0.5099, allocations: 1.026 MB / 0.6351 GB, free: 3.676 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.009484/0.5194, allocations: 7.135 MB / 0.6421 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.521, allocations: 0.6088 MB / 0.6427 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007895/0.5218, allocations: 405.6 kB / 0.6431 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003243/0.525, allocations: 1.751 MB / 0.6448 GB, free: 9.129 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008827/0.5259, allocations: 371.3 kB / 0.6451 GB, free: 8.754 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000789/0.5267, allocations: 115.2 kB / 0.6453 GB, free: 8.641 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 3.607e-06/0.5267, allocations: 0 / 0.6453 GB, free: 8.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.003895/0.5306, allocations: 1.362 MB / 0.6466 GB, free: 7.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.5307, allocations: 67.28 kB / 0.6467 GB, free: 7.168 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003416/0.5342, allocations: 2.36 MB / 0.649 GB, free: 4.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.5344, allocations: 41.7 kB / 0.649 GB, free: 4.742 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009362/0.5353, allocations: 0.992 MB / 0.65 GB, free: 3.738 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.5355, allocations: 169.7 kB / 0.6501 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/0.5359, allocations: 290.5 kB / 0.6504 GB, free: 3.281 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5361, allocations: 361.9 kB / 0.6507 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009713/0.5371, allocations: 0.4901 MB / 0.6512 GB, free: 2.426 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.5384, allocations: 0.9892 MB / 0.6522 GB, free: 1.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.5404, allocations: 1.336 MB / 0.6535 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.5405, allocations: 0 / 0.6535 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00369/0.5442, allocations: 1.811 MB / 0.6553 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-05/0.5442, allocations: 39.89 kB / 0.6553 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.5443, allocations: 8 kB / 0.6553 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007019/0.545, allocations: 199.3 kB / 0.6555 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008337/0.5458, allocations: 223.6 kB / 0.6557 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007277/0.5465, allocations: 0.7592 MB / 0.6565 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.5482, allocations: 116.2 kB / 0.6566 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.5483, allocations: 55.98 kB / 0.6566 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001778/0.5501, allocations: 1.018 MB / 0.6576 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001233/0.5514, allocations: 0.9694 MB / 0.6586 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001879/0.5533, allocations: 1.295 MB / 0.6598 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.075e-06/0.5533, allocations: 4 kB / 0.6598 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of matching and sorting (n=165) (initialization_lambda0): time 0.003389/0.5567, allocations: 1.778 MB / 0.6616 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.175e-05/0.5567, allocations: 41.64 kB / 0.6616 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.5568, allocations: 15.94 kB / 0.6616 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002646/0.557, allocations: 129.4 kB / 0.6617 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/0.5578, allocations: 219.6 kB / 0.662 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.5601, allocations: 2.129 MB / 0.664 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.5618, allocations: 124 kB / 0.6642 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.562, allocations: 51.98 kB / 0.6642 GB, free: 4.148 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * 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 {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004267/0.5625, allocations: 255.9 kB / 0.6644 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006266/0.5631, allocations: 209.3 kB / 0.6646 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.5658, allocations: 1.022 MB / 0.6656 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.5658, allocations: 8 kB / 0.6657 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5658, allocations: 0 / 0.6657 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001727/0.5676, allocations: 0.9622 MB / 0.6666 GB, free: 1.609 MB / 0.4981 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.005385/0.573, allocations: 2.366 MB / 0.6689 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.573, allocations: 0 / 0.6689 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005006/0.5735, allocations: 87.86 kB / 0.669 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00035/0.5739, allocations: 127.6 kB / 0.6691 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.5739, allocations: 8 kB / 0.6691 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006412/0.5746, allocations: 0.7436 MB / 0.6698 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.5746, allocations: 3.938 kB / 0.6698 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003184/0.5778, allocations: 1.413 MB / 0.6712 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.5789, allocations: 358.3 kB / 0.6716 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000536/0.5795, allocations: 8 kB / 0.6716 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.5807, allocations: 79.92 kB / 0.6716 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.5808, allocations: 48.31 kB / 0.6717 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.5809, allocations: 19.98 kB / 0.6717 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003043/0.584, allocations: 1.607 MB / 0.6733 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/0.584, allocations: 0 / 0.6733 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003771/0.5878, allocations: 0.9439 MB / 0.6742 GB, free: 9.645 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.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 {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/0.5892, allocations: 0.5145 MB / 0.6747 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004082/0.5933, allocations: 2.017 MB / 0.6767 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.5933, allocations: 0 / 0.6767 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009121/0.5943, allocations: 346.5 kB / 0.677 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00505/0.5993, allocations: 0.9217 MB / 0.6779 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00923/0.6086, allocations: 4.377 MB / 0.6822 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/0.6102, allocations: 1.661 MB / 0.6838 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006523/0.6109, allocations: 163.4 kB / 0.684 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.6109, allocations: 3.938 kB / 0.684 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of Templates: time 0.06751/0.6784, allocations: 44.89 MB / 0.7278 GB, free: 2.914 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)