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.6891/0.6891, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000895/0.0008949, allocations: 184.9 kB / 187.3 MB, free: 11.89 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.202/1.202, allocations: 221.3 MB / 441.4 MB, free: 4.668 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.0008405/0.0008404, allocations: 94.97 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001665/0.001665, allocations: 271.6 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.27e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3576, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.131/4.489, allocations: 2.145 GB / 2.909 GB, free: 181.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/4.489, allocations: 100.4 kB / 2.909 GB, free: 181.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.479/7.968, allocations: 1.247 GB / 4.157 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.373e-06/7.968, allocations: 0 / 4.157 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002938/7.969, allocations: 83.92 kB / 4.157 GB, free: 6.977 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.005054/7.974, allocations: 3.62 MB / 4.16 GB, free: 3.211 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/7.974, allocations: 12.03 kB / 4.16 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002968/7.974, allocations: 287.1 kB / 4.161 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001637/7.976, allocations: 0.5378 MB / 4.161 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/7.981, allocations: 3.388 MB / 4.164 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/7.981, allocations: 160 kB / 4.165 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003103/7.981, allocations: 216 kB / 4.165 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/7.985, allocations: 2.521 MB / 4.167 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.339e-05/7.985, allocations: 3.938 kB / 4.167 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002177/7.985, allocations: 88 kB / 4.167 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.362e-05/7.986, allocations: 75.89 kB / 4.167 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/7.989, allocations: 1.913 MB / 4.169 GB, free: 9.863 MB / 0.7448 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.4123/8.401, allocations: 10.5 MB / 4.18 GB, free: 59.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/8.404, allocations: 1.462 MB / 4.181 GB, free: 59.46 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/8.405, allocations: 0.9906 MB / 4.182 GB, free: 59.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007396/8.406, allocations: 1.18 MB / 4.183 GB, free: 58.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/8.406, allocations: 49.94 kB / 4.183 GB, free: 58.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=126): time 3.857e-06/8.406, allocations: 0 / 4.183 GB, free: 58.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=134): time 0.008378/8.414, allocations: 5.326 MB / 4.188 GB, free: 56.81 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/8.414, allocations: 341.8 kB / 4.189 GB, free: 56.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003665/8.418, allocations: 3.053 MB / 4.192 GB, free: 56.2 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001437/8.418, allocations: 61.08 kB / 4.192 GB, free: 56.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009021/8.419, allocations: 1.474 MB / 4.193 GB, free: 55.88 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/8.419, allocations: 461.3 kB / 4.194 GB, free: 55.65 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-05/8.419, allocations: 30.5 kB / 4.194 GB, free: 55.65 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/8.42, allocations: 366 kB / 4.194 GB, free: 55.35 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/8.421, allocations: 1.038 MB / 4.195 GB, free: 55.35 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/8.422, allocations: 1.482 MB / 4.196 GB, free: 54.93 MB / 0.7448 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.005693/8.428, allocations: 4.182 MB / 4.2 GB, free: 54.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/8.428, allocations: 0 / 4.2 GB, free: 54.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003606/8.431, allocations: 3.271 MB / 4.204 GB, free: 53.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004958/8.432, allocations: 2.942 MB / 4.207 GB, free: 50.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/8.432, allocations: 6.344 kB / 4.207 GB, free: 50.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004129/8.432, allocations: 154.8 kB / 4.207 GB, free: 50.35 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/8.433, allocations: 261.3 kB / 4.207 GB, free: 50.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006417/8.434, allocations: 1.297 MB / 4.208 GB, free: 49.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/8.436, allocations: 206.6 kB / 4.208 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/8.436, allocations: 88.2 kB / 4.209 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-06/8.436, allocations: 3.875 kB / 4.209 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003333/8.439, allocations: 3.344 MB / 4.212 GB, free: 48.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/8.439, allocations: 8.812 kB / 4.212 GB, free: 48.87 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/8.44, allocations: 154 kB / 4.212 GB, free: 48.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/8.441, allocations: 259.3 kB / 4.212 GB, free: 48.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006044/8.441, allocations: 1.288 MB / 4.213 GB, free: 47.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/8.443, allocations: 206.9 kB / 4.214 GB, free: 47.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/8.443, allocations: 86.36 kB / 4.214 GB, free: 47.8 MB / 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.0003883/8.444, allocations: 389.2 kB / 4.214 GB, free: 47.51 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/8.444, allocations: 324.1 kB / 4.214 GB, free: 47.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/8.447, allocations: 2.476 MB / 4.217 GB, free: 47.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/8.447, allocations: 14.22 kB / 4.217 GB, free: 47.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/8.447, allocations: 0 / 4.217 GB, free: 47.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002068/8.449, allocations: 2.224 MB / 4.219 GB, free: 46.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/8.456, allocations: 5.917 MB / 4.225 GB, free: 45.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/8.456, allocations: 4.312 kB / 4.225 GB, free: 45.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009935/8.457, allocations: 261.3 kB / 4.225 GB, free: 45.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/8.457, allocations: 13.06 kB / 4.225 GB, free: 45.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-05/8.458, allocations: 42.08 kB / 4.225 GB, free: 45.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/8.458, allocations: 13.94 kB / 4.225 GB, free: 45.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/8.458, allocations: 8.5 kB / 4.225 GB, free: 45.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003924/8.462, allocations: 4.586 MB / 4.23 GB, free: 44.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/8.463, allocations: 0.7132 MB / 4.23 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003272/8.463, allocations: 39.66 kB / 4.23 GB, free: 44.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/8.464, allocations: 167.7 kB / 4.23 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/8.465, allocations: 163.6 kB / 4.231 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/8.465, allocations: 58.02 kB / 4.231 GB, free: 44.1 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002862/8.468, allocations: 2.36 MB / 4.233 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.51e-07/8.468, allocations: 0 / 4.233 GB, free: 43.94 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003422/8.471, allocations: 1.505 MB / 4.234 GB, free: 43.94 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.008299/8.479, allocations: 9.091 MB / 4.243 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005448/8.485, allocations: 5.615 MB / 4.249 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/8.485, allocations: 0 / 4.249 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/8.487, allocations: 1.871 MB / 4.251 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006188/8.493, allocations: 1.626 MB / 4.252 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008882/8.502, allocations: 6.063 MB / 4.258 GB, free: 36.78 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/8.503, allocations: 2.15 MB / 4.26 GB, free: 36.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003362/8.507, allocations: 1.063 MB / 4.261 GB, free: 36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/8.508, allocations: 1.29 MB / 4.263 GB, free: 36 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/8.508, allocations: 0 / 4.263 GB, free: 36 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1507/8.659, allocations: 137 MB / 4.396 GB, free: 18.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001415/8.659, allocations: 250 kB / 4.397 GB, free: 17.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.866/14.52, allocations: 0 / 4.397 GB, free: 17.88 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)