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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009349/0.000935, allocations: 173.5 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5271/0.5271, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 348.4 MB, free: 4.969 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007975/0.0007973, allocations: 98.44 kB / 420.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 12 kB / 0.4901 GB, free: 7.992 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3723, allocations: 71.01 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6801/1.053, allocations: 353.1 MB / 0.9042 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/1.053, allocations: 95.61 kB / 0.9043 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.489/3.542, allocations: 0.6977 GB / 1.602 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.544e-06/3.542, allocations: 0 / 1.602 GB, free: 36.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003638/3.543, allocations: 47.98 kB / 1.602 GB, free: 36.61 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.007377/3.55, allocations: 2.417 MB / 1.604 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/3.55, allocations: 8.031 kB / 1.604 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/3.552, allocations: 286.2 kB / 1.605 GB, free: 33.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006867/3.559, allocations: 2.549 MB / 1.607 GB, free: 31.23 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/3.559, allocations: 81.88 kB / 1.607 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003545/3.559, allocations: 116.4 kB / 1.607 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/3.562, allocations: 1.256 MB / 1.609 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/3.562, allocations: 3.938 kB / 1.609 GB, free: 29.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/3.562, allocations: 40 kB / 1.609 GB, free: 29.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/3.562, allocations: 24 kB / 1.609 GB, free: 29.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/3.564, allocations: 0.9484 MB / 1.61 GB, free: 28.7 MB / 0.6042 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.007972/3.572, allocations: 6.644 MB / 1.616 GB, free: 21.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/3.573, allocations: 0.5976 MB / 1.617 GB, free: 20.99 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/3.573, allocations: 409.9 kB / 1.617 GB, free: 20.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002784/3.576, allocations: 1.617 MB / 1.619 GB, free: 18.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006188/3.577, allocations: 369.1 kB / 1.619 GB, free: 18.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009326/3.578, allocations: 127.3 kB / 1.619 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 5.541e-06/3.578, allocations: 0 / 1.619 GB, free: 18.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47): time 0.003168/3.581, allocations: 1.321 MB / 1.62 GB, free: 17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/3.581, allocations: 59.83 kB / 1.621 GB, free: 16.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/3.584, allocations: 1.749 MB / 1.622 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/3.584, allocations: 41.7 kB / 1.622 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006287/3.584, allocations: 0.8422 MB / 1.623 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/3.584, allocations: 169.7 kB / 1.623 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.86e-05/3.584, allocations: 16 kB / 1.623 GB, free: 14.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/3.585, allocations: 341.9 kB / 1.624 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005249/3.585, allocations: 285.8 kB / 1.624 GB, free: 13.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006771/3.586, allocations: 0.73 MB / 1.625 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/3.587, allocations: 0.9339 MB / 1.625 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/3.587, allocations: 0 / 1.625 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002315/3.589, allocations: 1.241 MB / 1.627 GB, free: 10.16 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/3.59, allocations: 427.2 kB / 1.627 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/3.59, allocations: 8 kB / 1.627 GB, free: 9.594 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006001/3.59, allocations: 188.1 kB / 1.627 GB, free: 9.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/3.591, allocations: 167.7 kB / 1.627 GB, free: 9.246 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005157/3.591, allocations: 0.7514 MB / 1.628 GB, free: 8.469 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/3.593, allocations: 107.7 kB / 1.628 GB, free: 8.363 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.462e-05/3.593, allocations: 47.98 kB / 1.628 GB, free: 8.316 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/3.593, allocations: 4 kB / 1.628 GB, free: 8.312 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001596/3.594, allocations: 1.074 MB / 1.629 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/3.594, allocations: 8 kB / 1.629 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/3.595, allocations: 126.6 kB / 1.63 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/3.595, allocations: 163.7 kB / 1.63 GB, free: 6.914 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/3.597, allocations: 2.12 MB / 1.632 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/3.598, allocations: 99.78 kB / 1.632 GB, free: 4.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.709e-05/3.598, allocations: 43.98 kB / 1.632 GB, free: 4.527 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001007/3.599, allocations: 0.5864 MB / 1.632 GB, free: 3.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/3.6, allocations: 177.8 kB / 1.633 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002047/3.602, allocations: 0.9928 MB / 1.634 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/3.602, allocations: 8 kB / 1.634 GB, free: 2.754 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/3.602, allocations: 7.922 kB / 1.634 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001219/3.603, allocations: 0.9503 MB / 1.635 GB, free: 1.734 MB / 0.6042 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.3792/3.982, allocations: 2.169 MB / 1.637 GB, free: 97.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.794e-06/3.982, allocations: 3.844 kB / 1.637 GB, free: 97.08 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/3.983, allocations: 89.41 kB / 1.637 GB, free: 97.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/3.983, allocations: 127.8 kB / 1.637 GB, free: 97.07 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/3.983, allocations: 18.58 kB / 1.637 GB, free: 97.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004443/3.983, allocations: 0.7277 MB / 1.638 GB, free: 96.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/3.983, allocations: 3.938 kB / 1.638 GB, free: 96.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/3.986, allocations: 1.369 MB / 1.639 GB, free: 96.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008509/3.987, allocations: 319.2 kB / 1.639 GB, free: 96.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/3.987, allocations: 12.41 kB / 1.639 GB, free: 96.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/3.988, allocations: 78.8 kB / 1.639 GB, free: 96.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/3.988, allocations: 44.36 kB / 1.639 GB, free: 96.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/3.988, allocations: 25.3 kB / 1.639 GB, free: 96.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002172/3.99, allocations: 1.204 MB / 1.641 GB, free: 96.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/3.99, allocations: 0 / 1.641 GB, free: 96.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00311/3.993, allocations: 0.858 MB / 1.641 GB, free: 96.16 MB / 0.6042 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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001575/3.995, allocations: 0.7934 MB / 1.642 GB, free: 96.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002511/3.997, allocations: 1.436 MB / 1.644 GB, free: 95.78 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/3.997, allocations: 3.75 kB / 1.644 GB, free: 95.78 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006134/3.998, allocations: 340.1 kB / 1.644 GB, free: 95.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/4.001, allocations: 0.7237 MB / 1.645 GB, free: 95.77 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/4.005, allocations: 3.435 MB / 1.648 GB, free: 94.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007959/4.006, allocations: 1.495 MB / 1.649 GB, free: 93.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001594/4.008, allocations: 441.2 kB / 1.65 GB, free: 93.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/4.008, allocations: 123.6 kB / 1.65 GB, free: 93.59 MB / 0.6042 GB Notification: Performance of SimCode: time 6.41e-07/4.008, allocations: 3.031 kB / 1.65 GB, free: 93.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.05479/4.063, allocations: 33.7 MB / 1.683 GB, free: 92.78 MB / 0.6042 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)