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.7925/0.7925, allocations: 143.3 MB / 158.3 MB, free: 5.77 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.001122/0.001122, allocations: 181.1 kB / 191.5 MB, free: 5.758 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.555/1.555, allocations: 223.2 MB / 447.7 MB, free: 4.812 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.0008535/0.0008534, allocations: 88.28 kB / 0.5187 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 279.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004512/0.0004514, allocations: 10.78 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1447, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.882/5.026, allocations: 2.145 GB / 2.919 GB, free: 222.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/5.027, allocations: 101.2 kB / 2.919 GB, free: 222.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.372/9.399, allocations: 1.25 GB / 4.169 GB, free: 48.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.575e-06/9.399, allocations: 0 / 4.169 GB, free: 48.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005193/9.399, allocations: 97.81 kB / 4.169 GB, free: 48.74 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.01273/9.412, allocations: 4.308 MB / 4.173 GB, free: 45.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.189e-05/9.412, allocations: 9.562 kB / 4.173 GB, free: 45.53 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001847/9.414, allocations: 290.2 kB / 4.174 GB, free: 45.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003831/9.418, allocations: 0.5462 MB / 4.174 GB, free: 45.04 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/9.429, allocations: 3.41 MB / 4.177 GB, free: 42.65 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/9.429, allocations: 164.4 kB / 4.178 GB, free: 42.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007269/9.43, allocations: 217.5 kB / 4.178 GB, free: 42.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004538/9.434, allocations: 2.589 MB / 4.18 GB, free: 40.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/9.434, allocations: 7.938 kB / 4.18 GB, free: 40.21 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/9.435, allocations: 84 kB / 4.18 GB, free: 40.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.549e-05/9.435, allocations: 75.77 kB / 4.18 GB, free: 40.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/9.438, allocations: 2.024 MB / 4.182 GB, free: 38.04 MB / 0.7292 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.01756/9.455, allocations: 10.5 MB / 4.193 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/9.457, allocations: 1.545 MB / 4.194 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008823/9.458, allocations: 1.183 MB / 4.195 GB, free: 24.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/9.458, allocations: 51.56 kB / 4.195 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=126): time 3.717e-06/9.458, allocations: 0 / 4.195 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=134): time 0.01293/9.471, allocations: 6.801 MB / 4.202 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/9.472, allocations: 341.7 kB / 4.202 GB, free: 16.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005413/9.477, allocations: 3.079 MB / 4.205 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005022/9.478, allocations: 57.7 kB / 4.205 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00112/9.479, allocations: 1.473 MB / 4.207 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005442/9.479, allocations: 463.8 kB / 4.207 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.482e-05/9.479, allocations: 28 kB / 4.207 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001027/9.479, allocations: 365.9 kB / 4.208 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/9.481, allocations: 1.078 MB / 4.209 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/9.482, allocations: 1.522 MB / 4.21 GB, free: 8.586 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.006501/9.489, allocations: 4.272 MB / 4.214 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/9.489, allocations: 4 kB / 4.214 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004688/9.494, allocations: 3.327 MB / 4.218 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001293/9.495, allocations: 2.944 MB / 4.221 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/9.495, allocations: 4 kB / 4.221 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005485/9.495, allocations: 149.6 kB / 4.221 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/9.497, allocations: 266.5 kB / 4.221 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/9.498, allocations: 1.29 MB / 4.222 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/9.501, allocations: 195.7 kB / 4.222 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/9.501, allocations: 83.97 kB / 4.222 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/9.501, allocations: 4 kB / 4.222 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005014/9.506, allocations: 3.419 MB / 4.226 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/9.506, allocations: 8 kB / 4.226 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004575/9.507, allocations: 145.6 kB / 4.226 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/9.508, allocations: 259.6 kB / 4.226 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/9.509, allocations: 1.294 MB / 4.227 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003212/9.512, allocations: 199.7 kB / 4.228 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003037/9.512, allocations: 79.92 kB / 4.228 GB, free: 5.969 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 () * Number of clocked 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.002898/9.515, allocations: 1.112 MB / 4.229 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/9.516, allocations: 324 kB / 4.229 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004834/9.521, allocations: 2.562 MB / 4.232 GB, free: 1.883 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/9.521, allocations: 12 kB / 4.232 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/9.521, allocations: 0 / 4.232 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00318/9.525, allocations: 2.296 MB / 4.234 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01279/9.537, allocations: 5.985 MB / 4.24 GB, free: 9.348 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/9.537, allocations: 8 kB / 4.24 GB, free: 9.34 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001168/9.539, allocations: 259.7 kB / 4.24 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.217e-05/9.539, allocations: 15.81 kB / 4.24 GB, free: 9.074 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/9.539, allocations: 43.98 kB / 4.24 GB, free: 9.031 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-05/9.539, allocations: 19.92 kB / 4.24 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.717e-06/9.539, allocations: 7.938 kB / 4.24 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006932/9.546, allocations: 4.705 MB / 4.245 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00274/9.548, allocations: 0.7155 MB / 4.245 GB, free: 3.301 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/9.55, allocations: 47.94 kB / 4.245 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002734/9.552, allocations: 167.7 kB / 4.246 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003859/9.553, allocations: 156.7 kB / 4.246 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/9.553, allocations: 55.97 kB / 4.246 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.005061/9.558, allocations: 2.401 MB / 4.248 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4.91e-07/9.558, allocations: 4 kB / 4.248 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.6059/10.16, allocations: 1.497 MB / 4.25 GB, free: 86.79 MB / 0.7605 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.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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.01241/10.18, allocations: 9.207 MB / 4.259 GB, free: 83.14 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.008974/10.19, allocations: 5.608 MB / 4.264 GB, free: 81.61 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.73e-05/10.19, allocations: 3.438 kB / 4.264 GB, free: 81.61 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003084/10.19, allocations: 1.909 MB / 4.266 GB, free: 81.23 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009927/10.2, allocations: 1.625 MB / 4.267 GB, free: 81.21 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/10.22, allocations: 12.81 MB / 4.28 GB, free: 73.73 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/10.22, allocations: 2.156 MB / 4.282 GB, free: 72.98 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003943/10.23, allocations: 0.6481 MB / 4.283 GB, free: 72.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002047/10.23, allocations: 1.365 MB / 4.284 GB, free: 72.95 MB / 0.7605 GB Notification: Performance of SimCode: time 9.32e-07/10.23, allocations: 0 / 4.284 GB, free: 72.95 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.201/10.43, allocations: 126.1 MB / 4.407 GB, free: 65.83 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/10.43, allocations: 291.5 kB / 4.407 GB, free: 65.46 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.787/17.22, allocations: 0 / 4.407 GB, free: 65.46 MB / 0.7605 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)