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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 92.11 kB / 20.43 MB, free: 4.145 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009222/0.0009222, allocations: 165.3 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9487/0.9487, allocations: 177.1 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5967/0.5967, allocations: 115 MB / 375.7 MB, free: 7.613 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") translateModel(IBPSA.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.92e-05, allocations: 4.062 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example2): time 0.009182/0.009201, allocations: 11.62 MB / 493.1 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.01988, allocations: 8.664 MB / 0.49 GB, free: 14.59 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.0213, allocations: 69.28 kB / 0.4901 GB, free: 14.56 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00369/0.02499, allocations: 1.388 MB / 0.4914 GB, free: 14.04 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003547/0.02854, allocations: 1.507 MB / 0.4929 GB, free: 13.18 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003805/0.03234, allocations: 1.724 MB / 0.4946 GB, free: 12.36 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.009697/0.04204, allocations: 7.774 MB / 0.5022 GB, free: 7.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/0.04407, allocations: 1.204 MB / 0.5034 GB, free: 6.156 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003607/0.04767, allocations: 2.446 MB / 0.5058 GB, free: 3.738 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.04915, allocations: 1.06 MB / 0.5068 GB, free: 2.672 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.04945, allocations: 124 kB / 0.5069 GB, free: 2.551 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.05079, allocations: 0.7331 MB / 0.5076 GB, free: 1.816 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004083/0.0512, allocations: 0.5916 MB / 0.5082 GB, free: 1.223 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007121/0.05191, allocations: 0.6701 MB / 0.5089 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002269/0.05418, allocations: 1.981 MB / 0.5108 GB, free: 14.56 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.05419, allocations: 0 / 0.5108 GB, free: 14.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.05419, allocations: 4 kB / 0.5108 GB, free: 14.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.054e-05/0.05425, allocations: 0 / 0.5108 GB, free: 14.56 MB / 442.7 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.002897/0.05714, allocations: 2.678 MB / 0.5134 GB, free: 11.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.05718, allocations: 8.031 kB / 0.5134 GB, free: 11.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008965/0.05808, allocations: 446.2 kB / 0.5138 GB, free: 11.37 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.06013, allocations: 2.138 MB / 0.5159 GB, free: 9.145 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/0.06018, allocations: 78 kB / 0.516 GB, free: 9.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.06028, allocations: 112 kB / 0.5161 GB, free: 8.961 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.06124, allocations: 0.9256 MB / 0.517 GB, free: 7.918 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.06126, allocations: 0 / 0.517 GB, free: 7.918 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.332e-05/0.06131, allocations: 36 kB / 0.5171 GB, free: 7.883 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.06133, allocations: 27.98 kB / 0.5171 GB, free: 7.855 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.06185, allocations: 351.5 kB / 0.5174 GB, free: 7.516 MB / 442.7 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.003615/0.06547, allocations: 4.913 MB / 0.5222 GB, free: 2.441 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004753/0.06594, allocations: 329.3 kB / 0.5225 GB, free: 2.105 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.06616, allocations: 156.1 kB / 0.5227 GB, free: 1.949 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.06743, allocations: 1.019 MB / 0.5237 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.06779, allocations: 341.2 kB / 0.524 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001838/0.06797, allocations: 83.39 kB / 0.5241 GB, free: 460 kB / 442.7 MB Notification: Performance of pre-optimization done (n=42): time 2.775e-06/0.06797, allocations: 0 / 0.5241 GB, free: 460 kB / 442.7 MB Notification: Performance of matching and sorting (n=42): time 0.001674/0.06965, allocations: 0.9398 MB / 0.525 GB, free: 15.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.06969, allocations: 63.34 kB / 0.5251 GB, free: 15.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.07129, allocations: 1.904 MB / 0.5269 GB, free: 13.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.07134, allocations: 49.7 kB / 0.527 GB, free: 13.43 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006236/0.07196, allocations: 1.045 MB / 0.528 GB, free: 12.37 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.352e-05/0.07205, allocations: 158.7 kB / 0.5281 GB, free: 12.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.07228, allocations: 284.5 kB / 0.5284 GB, free: 11.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.07242, allocations: 0.5316 MB / 0.5289 GB, free: 11.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/0.07266, allocations: 174.5 kB / 0.5291 GB, free: 11.21 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/0.07341, allocations: 1.536 MB / 0.5306 GB, free: 9.129 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009197/0.07433, allocations: 1.238 MB / 0.5318 GB, free: 7.508 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.07434, allocations: 8 kB / 0.5318 GB, free: 7.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001437/0.07578, allocations: 1.252 MB / 0.533 GB, free: 6.219 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/0.07582, allocations: 45.69 kB / 0.5331 GB, free: 6.168 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.07584, allocations: 20 kB / 0.5331 GB, free: 6.148 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006161/0.07646, allocations: 275.4 kB / 0.5334 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.07689, allocations: 231.6 kB / 0.5336 GB, free: 5.648 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005544/0.07744, allocations: 0.9792 MB / 0.5345 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.07791, allocations: 71.97 kB / 0.5346 GB, free: 4.566 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.381e-05/0.07797, allocations: 67.98 kB / 0.5347 GB, free: 4.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003739/0.07834, allocations: 311.1 kB / 0.535 GB, free: 4.184 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007481/0.07909, allocations: 1.524 MB / 0.5365 GB, free: 2.117 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008339/0.07993, allocations: 1.222 MB / 0.5376 GB, free: 0.5039 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.704e-06/0.07993, allocations: 4 kB / 0.5376 GB, free: 0.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.001205/0.08114, allocations: 1.18 MB / 0.5388 GB, free: 15.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.08117, allocations: 45.69 kB / 0.5388 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.08118, allocations: 24.59 kB / 0.5389 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.08138, allocations: 127.2 kB / 0.539 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.08178, allocations: 231.6 kB / 0.5392 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.08324, allocations: 2.497 MB / 0.5416 GB, free: 12.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.08371, allocations: 80.19 kB / 0.5417 GB, free: 12.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.08377, allocations: 64 kB / 0.5418 GB, free: 12.11 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * 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 (125): * Single equations (assignments): 122 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0001786/0.08395, allocations: 359.5 kB / 0.5421 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.08409, allocations: 198.7 kB / 0.5423 GB, free: 11.56 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007918/0.08489, allocations: 0.6526 MB / 0.543 GB, free: 10.89 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.0849, allocations: 12 kB / 0.543 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.0849, allocations: 0 / 0.543 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005161/0.08542, allocations: 0.627 MB / 0.5436 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.08715, allocations: 1.743 MB / 0.5453 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.08716, allocations: 11.92 kB / 0.5453 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.08736, allocations: 67.89 kB / 0.5454 GB, free: 8.301 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002418/0.0876, allocations: 130.5 kB / 0.5455 GB, free: 8.172 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.08764, allocations: 19.98 kB / 0.5455 GB, free: 8.152 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003922/0.08803, allocations: 0.9117 MB / 0.5464 GB, free: 7.211 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.08803, allocations: 3.984 kB / 0.5464 GB, free: 7.207 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008885/0.08892, allocations: 0.8753 MB / 0.5472 GB, free: 6.293 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002569/0.08918, allocations: 246.6 kB / 0.5475 GB, free: 6.051 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.08928, allocations: 15.98 kB / 0.5475 GB, free: 6.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.08958, allocations: 35.95 kB / 0.5475 GB, free: 6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.08965, allocations: 35.92 kB / 0.5476 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.08968, allocations: 23.98 kB / 0.5476 GB, free: 5.941 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008873/0.09057, allocations: 1.015 MB / 0.5486 GB, free: 4.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09057, allocations: 0 / 0.5486 GB, free: 4.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001306/0.09188, allocations: 0.7604 MB / 0.5493 GB, free: 4.148 MB / 474.7 MB 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 (37): * Single equations (assignments): 31 * 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.0003998/0.09228, allocations: 250.7 kB / 0.5496 GB, free: 3.895 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.09383, allocations: 1.436 MB / 0.551 GB, free: 2.418 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.09383, allocations: 0 / 0.551 GB, free: 2.418 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.09412, allocations: 212.8 kB / 0.5512 GB, free: 2.207 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.09584, allocations: 0.917 MB / 0.5521 GB, free: 1.336 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00342/0.09926, allocations: 2.813 MB / 0.5548 GB, free: 14.46 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.09957, allocations: 444.7 kB / 0.5552 GB, free: 14 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009651/0.1005, allocations: 0.5033 MB / 0.5557 GB, free: 13.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.1008, allocations: 148.4 kB / 0.5559 GB, free: 13.35 MB / 490.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1008, allocations: 3.938 kB / 0.5559 GB, free: 13.34 MB / 490.7 MB Notification: Performance of Templates: time 0.0403/0.1411, allocations: 37.84 MB / 0.5928 GB, free: 8.262 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.044771560002118]