Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9239/0.9239, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 184.8 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009486/0.0009485, allocations: 96.03 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001781, allocations: 264.6 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.484e-05, allocations: 7.938 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/0.5094, allocations: 82.77 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.664/6.174, allocations: 2.144 GB / 2.902 GB, free: 196.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/6.174, allocations: 95.94 kB / 2.902 GB, free: 196 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.25/10.42, allocations: 1.238 GB / 4.14 GB, free: 39.53 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.064e-06/10.42, allocations: 3.938 kB / 4.14 GB, free: 39.53 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004392/10.42, allocations: 82.02 kB / 4.14 GB, free: 39.45 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.00833/10.43, allocations: 3.63 MB / 4.144 GB, free: 35.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/10.43, allocations: 12.03 kB / 4.144 GB, free: 35.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/10.44, allocations: 0.534 MB / 4.144 GB, free: 35.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006867/10.44, allocations: 3.39 MB / 4.148 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/10.44, allocations: 68 kB / 4.148 GB, free: 31.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/10.44, allocations: 132 kB / 4.148 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003157/10.45, allocations: 1.808 MB / 4.15 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003406/10.45, allocations: 2.225 MB / 4.152 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.975e-05/10.45, allocations: 0 / 4.152 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/10.45, allocations: 8 kB / 4.152 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/10.45, allocations: 71.83 kB / 4.152 GB, free: 27.4 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.01244/10.46, allocations: 10.07 MB / 4.162 GB, free: 17.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/10.46, allocations: 1.403 MB / 4.163 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009198/10.47, allocations: 0.9567 MB / 4.164 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007413/10.47, allocations: 1.181 MB / 4.165 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/10.47, allocations: 51.88 kB / 4.165 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=126): time 3.447e-06/10.47, allocations: 0 / 4.165 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=134): time 0.008247/10.47, allocations: 4.652 MB / 4.17 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/10.47, allocations: 345.7 kB / 4.17 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003554/10.48, allocations: 2.612 MB / 4.173 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002614/10.48, allocations: 33.7 kB / 4.173 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009291/10.48, allocations: 1.497 MB / 4.174 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003305/10.48, allocations: 445.3 kB / 4.174 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/10.48, allocations: 4 kB / 4.174 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.268e-05/10.48, allocations: 361.9 kB / 4.175 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/10.48, allocations: 1.015 MB / 4.176 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/10.48, allocations: 1.436 MB / 4.177 GB, free: 0.5781 MB / 0.7292 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006577/10.49, allocations: 3.73 MB / 4.181 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/10.49, allocations: 0 / 4.181 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004956/10.49, allocations: 2.787 MB / 4.184 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001064/10.49, allocations: 2.889 MB / 4.186 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/10.49, allocations: 4 kB / 4.186 GB, free: 6.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/10.5, allocations: 137.6 kB / 4.187 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/10.5, allocations: 263.6 kB / 4.187 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/10.5, allocations: 1.31 MB / 4.188 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/10.5, allocations: 171.7 kB / 4.188 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/10.5, allocations: 83.97 kB / 4.188 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/10.5, allocations: 5.25 kB / 4.188 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004427/10.5, allocations: 2.708 MB / 4.191 GB, free: 2.055 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/10.5, allocations: 8 kB / 4.191 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003493/10.5, allocations: 136.9 kB / 4.191 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/10.51, allocations: 267.8 kB / 4.191 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009305/10.51, allocations: 1.296 MB / 4.193 GB, free: 308 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/10.51, allocations: 167.8 kB / 4.193 GB, free: 140 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/10.51, allocations: 83.98 kB / 4.193 GB, free: 56 kB / 0.7448 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: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.5253/11.04, allocations: 333.8 kB / 4.193 GB, free: 71.11 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004342/11.04, allocations: 2.03 MB / 4.195 GB, free: 71.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005935/11.04, allocations: 297.7 kB / 4.195 GB, free: 71.05 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004374/11.04, allocations: 2.159 MB / 4.198 GB, free: 70.95 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/11.04, allocations: 15.8 kB / 4.198 GB, free: 70.95 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/11.04, allocations: 0.6562 kB / 4.198 GB, free: 70.95 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002475/11.05, allocations: 1.959 MB / 4.2 GB, free: 70.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008413/11.06, allocations: 5.377 MB / 4.205 GB, free: 70.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/11.06, allocations: 5.656 kB / 4.205 GB, free: 70.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/11.06, allocations: 258.7 kB / 4.205 GB, free: 70.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.721e-05/11.06, allocations: 15.12 kB / 4.205 GB, free: 70.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.653e-05/11.06, allocations: 26.17 kB / 4.205 GB, free: 70.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/11.06, allocations: 12.95 kB / 4.205 GB, free: 70.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.716e-06/11.06, allocations: 13.22 kB / 4.205 GB, free: 70.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004738/11.06, allocations: 4.173 MB / 4.209 GB, free: 69.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/11.06, allocations: 0.6726 MB / 4.21 GB, free: 68.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003944/11.06, allocations: 24.31 kB / 4.21 GB, free: 68.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001624/11.06, allocations: 142.3 kB / 4.21 GB, free: 68.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003311/11.07, allocations: 164.4 kB / 4.21 GB, free: 68.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/11.07, allocations: 59.31 kB / 4.21 GB, free: 68.85 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00301/11.07, allocations: 1.987 MB / 4.212 GB, free: 68.71 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/11.07, allocations: 0 / 4.212 GB, free: 68.71 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004216/11.07, allocations: 1.374 MB / 4.213 GB, free: 68.71 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * 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.009194/11.08, allocations: 8.851 MB / 4.222 GB, free: 65.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005431/11.09, allocations: 5.453 MB / 4.227 GB, free: 63.52 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/11.09, allocations: 6.609 kB / 4.227 GB, free: 63.52 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/11.09, allocations: 1.836 MB / 4.229 GB, free: 63.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007163/11.1, allocations: 1.41 MB / 4.231 GB, free: 63.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/11.11, allocations: 5.887 MB / 4.236 GB, free: 61.83 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001695/11.11, allocations: 2.157 MB / 4.238 GB, free: 61.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004159/11.12, allocations: 0.9843 MB / 4.239 GB, free: 61.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/11.12, allocations: 1.279 MB / 4.241 GB, free: 61.06 MB / 0.7448 GB Notification: Performance of SimCode: time 1.253e-06/11.12, allocations: 1.594 kB / 4.241 GB, free: 61.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1677/11.28, allocations: 103.7 MB / 4.342 GB, free: 54.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/11.28, allocations: 200.1 kB / 4.342 GB, free: 54.55 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.869/17.15, allocations: 4 kB / 4.342 GB, free: 54.55 MB / 0.7448 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)