Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1") translateModel(IBPSA.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008474/0.000847, allocations: 98.34 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.0009301/0.0009302, allocations: 179.5 kB / 16.92 MB, free: 6.922 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.348/1.348, allocations: 223.2 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6767/0.6767, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.0003959, allocations: 8 kB / 495.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1392, allocations: 77.53 MB / 0.5599 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example1v1): time 0.3352/0.4745, allocations: 70.87 MB / 0.6292 GB, free: 8.973 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02781/0.5024, allocations: 18.74 MB / 0.6475 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.506, allocations: 86.16 kB / 0.6475 GB, free: 10.59 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008159/0.5142, allocations: 4.021 MB / 0.6515 GB, free: 8.391 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006955/0.5212, allocations: 2.261 MB / 0.6537 GB, free: 6.594 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005007/0.5262, allocations: 1.884 MB / 0.6555 GB, free: 5.223 MB / 478.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.01631/0.5425, allocations: 13.59 MB / 0.6688 GB, free: 8.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00862/0.5512, allocations: 5.593 MB / 0.6743 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007123/0.5583, allocations: 2.777 MB / 0.677 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004849/0.5632, allocations: 2.469 MB / 0.6794 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.5642, allocations: 128 kB / 0.6795 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/0.5688, allocations: 1.439 MB / 0.6809 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001351/0.5702, allocations: 0.7544 MB / 0.6816 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003815/0.574, allocations: 1.785 MB / 0.6834 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.008407/0.5825, allocations: 5.072 MB / 0.6883 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5825, allocations: 4 kB / 0.6883 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5825, allocations: 0 / 0.6883 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002023/0.5827, allocations: 4 kB / 0.6883 GB, free: 3.883 MB / 0.4981 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.009401/0.5921, allocations: 4.157 MB / 0.6924 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5922, allocations: 12.03 kB / 0.6924 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003435/0.5956, allocations: 0.6978 MB / 0.6931 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007174/0.6028, allocations: 3.66 MB / 0.6967 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/0.603, allocations: 143.8 kB / 0.6968 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003995/0.6034, allocations: 184 kB / 0.697 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004156/0.6076, allocations: 2.359 MB / 0.6993 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.282e-05/0.6077, allocations: 7.938 kB / 0.6993 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/0.6078, allocations: 68 kB / 0.6994 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.398e-05/0.6079, allocations: 44 kB / 0.6994 GB, free: 8.27 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003897/0.6118, allocations: 1.951 MB / 0.7013 GB, free: 6.312 MB / 0.5137 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.01539/0.6272, allocations: 12.07 MB / 0.7131 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003067/0.6303, allocations: 1.391 MB / 0.7144 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.6322, allocations: 1.025 MB / 0.7154 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007065/0.6392, allocations: 3.826 MB / 0.7192 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.6408, allocations: 0.7935 MB / 0.72 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001722/0.6425, allocations: 466.3 kB / 0.7204 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=95): time 4.919e-06/0.6425, allocations: 0 / 0.7204 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=95): time 0.0128/0.6553, allocations: 4.269 MB / 0.7246 GB, free: 13.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.6554, allocations: 64.41 kB / 0.7246 GB, free: 13.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005944/0.6614, allocations: 3.435 MB / 0.728 GB, free: 9.988 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.6616, allocations: 57.7 kB / 0.728 GB, free: 9.926 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001592/0.6632, allocations: 1.563 MB / 0.7296 GB, free: 8.348 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/0.6636, allocations: 347.2 kB / 0.7299 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/0.664, allocations: 185.6 kB / 0.7301 GB, free: 7.816 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.6641, allocations: 313.1 kB / 0.7304 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.6659, allocations: 0.8549 MB / 0.7312 GB, free: 6.652 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002301/0.6682, allocations: 1.66 MB / 0.7328 GB, free: 4.641 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/0.6719, allocations: 2.241 MB / 0.735 GB, free: 2.184 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.6719, allocations: 4 kB / 0.735 GB, free: 2.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007225/0.6792, allocations: 3.322 MB / 0.7383 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004053/0.6796, allocations: 0.57 MB / 0.7388 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.6796, allocations: 12 kB / 0.7388 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00254/0.6822, allocations: 0.6997 MB / 0.7395 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.6836, allocations: 353.2 kB / 0.7399 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.6856, allocations: 1.908 MB / 0.7417 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/0.6881, allocations: 208.9 kB / 0.7419 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001948/0.6884, allocations: 83.97 kB / 0.742 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/0.6884, allocations: 4 kB / 0.742 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005006/0.6934, allocations: 2.849 MB / 0.7448 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/0.6934, allocations: 15.94 kB / 0.7448 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009529/0.6944, allocations: 477.5 kB / 0.7453 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/0.6957, allocations: 341.3 kB / 0.7456 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006774/0.7025, allocations: 5.853 MB / 0.7513 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00237/0.7049, allocations: 205 kB / 0.7515 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/0.7051, allocations: 79.97 kB / 0.7516 GB, free: 0.6172 MB / 0.5606 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.001666/0.7068, allocations: 0.942 MB / 0.7525 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006917/0.7075, allocations: 335.7 kB / 0.7528 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005061/0.7125, allocations: 2.336 MB / 0.7551 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.7126, allocations: 16 kB / 0.7551 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.7126, allocations: 0 / 0.7551 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003632/0.7162, allocations: 2.038 MB / 0.7571 GB, free: 10.84 MB / 0.5762 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.008624/0.7248, allocations: 4.555 MB / 0.7615 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7249, allocations: 0 / 0.7615 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008515/0.7257, allocations: 149.8 kB / 0.7617 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.7269, allocations: 481.1 kB / 0.7621 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.7269, allocations: 27.97 kB / 0.7622 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.7286, allocations: 1.854 MB / 0.764 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7286, allocations: 0 / 0.764 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006108/0.7347, allocations: 3.133 MB / 0.767 GB, free: 488 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/0.7362, allocations: 0.5591 MB / 0.7676 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007356/0.7369, allocations: 20 kB / 0.7676 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/0.7388, allocations: 167.7 kB / 0.7678 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.739, allocations: 68.84 kB / 0.7678 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.7391, allocations: 35.98 kB / 0.7679 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004046/0.7431, allocations: 2.335 MB / 0.7701 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.9e-07/0.7431, allocations: 0 / 0.7701 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004586/0.7477, allocations: 1.509 MB / 0.7716 GB, free: 11.75 MB / 0.5919 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.001521/0.7493, allocations: 0.5847 MB / 0.7722 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007005/0.7563, allocations: 3.679 MB / 0.7758 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7563, allocations: 0 / 0.7758 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.758, allocations: 0.7732 MB / 0.7765 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006787/0.7648, allocations: 1.36 MB / 0.7779 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.7762, allocations: 6.974 MB / 0.7847 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002141/0.7784, allocations: 2.216 MB / 0.7868 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.00314/0.7815, allocations: 0.7794 MB / 0.7876 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/0.7822, allocations: 223.4 kB / 0.7878 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.7822, allocations: 4 kB / 0.7878 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of Templates: time 0.3789/1.161, allocations: 58.88 MB / 0.8453 GB, free: 219.4 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example1v1.pipe 2>&1)