Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 177 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4474/0.4474, 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.287/1.287, allocations: 223.3 MB / 348.4 MB, free: 5.004 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.0007729/0.0007729, allocations: 92.23 kB / 420.2 MB, free: 9.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.000385, allocations: 16 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.303, allocations: 71.02 MB / 0.5595 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.886/4.189, allocations: 2.134 GB / 2.694 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/4.189, allocations: 95.95 kB / 2.694 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.904/7.093, allocations: 0.8738 GB / 3.568 GB, free: 62.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/7.093, allocations: 0 / 3.568 GB, free: 62.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.00033/7.093, allocations: 57.2 kB / 3.568 GB, free: 62.89 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007741/7.101, allocations: 2.735 MB / 3.57 GB, free: 61.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/7.101, allocations: 12.75 kB / 3.57 GB, free: 61.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/7.103, allocations: 373.1 kB / 3.571 GB, free: 61.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005025/7.108, allocations: 2.12 MB / 3.573 GB, free: 61.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/7.109, allocations: 104.7 kB / 3.573 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004206/7.109, allocations: 143.4 kB / 3.573 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003177/7.112, allocations: 1.605 MB / 3.575 GB, free: 60.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/7.112, allocations: 3.938 kB / 3.575 GB, free: 60.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/7.112, allocations: 64.88 kB / 3.575 GB, free: 60.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-05/7.112, allocations: 43.81 kB / 3.575 GB, free: 60.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/7.115, allocations: 1.25 MB / 3.576 GB, free: 60.86 MB / 0.6198 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.008984/7.124, allocations: 6.447 MB / 3.582 GB, free: 58.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001252/7.125, allocations: 0.9242 MB / 3.583 GB, free: 58.63 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007657/7.126, allocations: 0.6234 MB / 3.584 GB, free: 58.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005054/7.126, allocations: 0.6926 MB / 3.584 GB, free: 57.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/7.126, allocations: 44.19 kB / 3.584 GB, free: 57.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 4.077e-06/7.126, allocations: 1.781 kB / 3.584 GB, free: 57.83 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85): time 0.006045/7.132, allocations: 3.667 MB / 3.588 GB, free: 56.86 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/7.132, allocations: 204.5 kB / 3.588 GB, free: 56.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003106/7.135, allocations: 1.985 MB / 3.59 GB, free: 56.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/7.136, allocations: 47.86 kB / 3.59 GB, free: 56.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006513/7.136, allocations: 0.8842 MB / 3.591 GB, free: 56.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002223/7.136, allocations: 294.5 kB / 3.591 GB, free: 55.94 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/7.137, allocations: 17.72 kB / 3.591 GB, free: 55.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.184e-05/7.137, allocations: 343.3 kB / 3.592 GB, free: 55.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007743/7.137, allocations: 0.6064 MB / 3.592 GB, free: 55.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009435/7.138, allocations: 0.8746 MB / 3.593 GB, free: 55.39 MB / 0.6198 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004732/7.143, allocations: 3.251 MB / 3.596 GB, free: 54.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/7.143, allocations: 0 / 3.596 GB, free: 54.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002407/7.146, allocations: 1.847 MB / 3.598 GB, free: 54.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/7.146, allocations: 388.8 kB / 3.598 GB, free: 53.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/7.146, allocations: 3.656 kB / 3.598 GB, free: 53.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/7.146, allocations: 9.375 kB / 3.598 GB, free: 53.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/7.146, allocations: 179.9 kB / 3.599 GB, free: 53.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/7.147, allocations: 6.312 kB / 3.599 GB, free: 53.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/7.148, allocations: 123.8 kB / 3.599 GB, free: 53.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/7.148, allocations: 53.8 kB / 3.599 GB, free: 53.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/7.148, allocations: 3.844 kB / 3.599 GB, free: 53.8 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002135/7.15, allocations: 1.847 MB / 3.601 GB, free: 53.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/7.15, allocations: 7.531 kB / 3.601 GB, free: 53.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/7.15, allocations: 7.469 kB / 3.601 GB, free: 53.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006491/7.151, allocations: 182.7 kB / 3.601 GB, free: 53.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/7.151, allocations: 7.531 kB / 3.601 GB, free: 53.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/7.153, allocations: 125.2 kB / 3.601 GB, free: 53.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/7.153, allocations: 48 kB / 3.601 GB, free: 53.59 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001156/7.154, allocations: 0.7125 MB / 3.602 GB, free: 53.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/7.154, allocations: 195.8 kB / 3.602 GB, free: 53.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/7.156, allocations: 1.479 MB / 3.603 GB, free: 53.03 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/7.157, allocations: 7.812 kB / 3.603 GB, free: 53.03 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/7.157, allocations: 5.156 kB / 3.603 GB, free: 53.03 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001527/7.158, allocations: 1.557 MB / 3.605 GB, free: 52.47 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005565/7.164, allocations: 3.614 MB / 3.608 GB, free: 51.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/7.164, allocations: 6.188 kB / 3.608 GB, free: 51.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007058/7.164, allocations: 167.7 kB / 3.609 GB, free: 51.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/7.164, allocations: 8.719 kB / 3.609 GB, free: 51.86 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.096e-05/7.164, allocations: 28.7 kB / 3.609 GB, free: 51.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.598e-06/7.164, allocations: 10.75 kB / 3.609 GB, free: 51.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/7.165, allocations: 7.812 kB / 3.609 GB, free: 51.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002895/7.167, allocations: 2.449 MB / 3.611 GB, free: 51.34 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009823/7.168, allocations: 451.6 kB / 3.611 GB, free: 51.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004834/7.169, allocations: 26.94 kB / 3.611 GB, free: 51.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/7.17, allocations: 106.5 kB / 3.612 GB, free: 51.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/7.17, allocations: 101.5 kB / 3.612 GB, free: 51.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.253e-05/7.171, allocations: 36.58 kB / 3.612 GB, free: 51.13 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002272/7.173, allocations: 1.382 MB / 3.613 GB, free: 50.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.51e-07/7.173, allocations: 0 / 3.613 GB, free: 50.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003407/7.176, allocations: 0.9827 MB / 3.614 GB, free: 50.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003464/7.18, allocations: 2.279 MB / 3.616 GB, free: 50.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003473/7.183, allocations: 3.048 MB / 3.619 GB, free: 49.52 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/7.183, allocations: 9.188 kB / 3.619 GB, free: 49.52 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001117/7.184, allocations: 1.006 MB / 3.62 GB, free: 49.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006575/7.191, allocations: 1.025 MB / 3.621 GB, free: 49.32 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008137/7.199, allocations: 4.488 MB / 3.626 GB, free: 47.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/7.201, allocations: 1.524 MB / 3.627 GB, free: 46.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002337/7.203, allocations: 436.5 kB / 3.627 GB, free: 46.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005371/7.204, allocations: 135.2 kB / 3.628 GB, free: 46.72 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/7.204, allocations: 3.094 kB / 3.628 GB, free: 46.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.07969/7.283, allocations: 60.74 MB / 3.687 GB, free: 43.38 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)