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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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: translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7545/0.7545, allocations: 140.1 MB / 156 MB, free: 5.188 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 179.1 kB / 188.5 MB, free: 15.85 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 426.4 MB, free: 8.398 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008966/0.0008966, allocations: 86.36 kB / 0.4945 GB, free: 8.344 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001683/0.001683, allocations: 281.1 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004967, allocations: 20 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.367, allocations: 79.3 MB / 0.7395 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.831/5.198, allocations: 2.314 GB / 3.053 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/5.198, allocations: 104.9 kB / 3.054 GB, free: 258.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.946/9.145, allocations: 1.226 GB / 4.28 GB, free: 66.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.525e-06/9.145, allocations: 0 / 4.28 GB, free: 66.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005662/9.145, allocations: 86.98 kB / 4.28 GB, free: 66.49 MB / 0.7136 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.01171/9.157, allocations: 4.282 MB / 4.284 GB, free: 64.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/9.157, allocations: 11.22 kB / 4.284 GB, free: 64.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003128/9.16, allocations: 0.5323 MB / 4.285 GB, free: 63.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00895/9.169, allocations: 3.503 MB / 4.288 GB, free: 63.12 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/9.169, allocations: 166.8 kB / 4.288 GB, free: 63.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008501/9.17, allocations: 224.3 kB / 4.289 GB, free: 63.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006327/9.177, allocations: 2.601 MB / 4.291 GB, free: 62.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.103e-05/9.177, allocations: 7.344 kB / 4.291 GB, free: 62.83 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004278/9.177, allocations: 87.25 kB / 4.291 GB, free: 62.83 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.255e-05/9.177, allocations: 72.67 kB / 4.291 GB, free: 62.83 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004032/9.181, allocations: 2.027 MB / 4.293 GB, free: 62.8 MB / 0.7136 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.01674/9.198, allocations: 10.45 MB / 4.303 GB, free: 59.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/9.2, allocations: 1.55 MB / 4.305 GB, free: 59.23 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/9.202, allocations: 1.032 MB / 4.306 GB, free: 59.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008202/9.203, allocations: 1.183 MB / 4.307 GB, free: 57.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/9.203, allocations: 48.22 kB / 4.307 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 4.118e-06/9.203, allocations: 0 / 4.307 GB, free: 57.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=134): time 0.01122/9.214, allocations: 6.313 MB / 4.313 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/9.214, allocations: 342.3 kB / 4.314 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006685/9.221, allocations: 3.406 MB / 4.317 GB, free: 53.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003529/9.221, allocations: 62.27 kB / 4.317 GB, free: 53.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001399/9.223, allocations: 1.472 MB / 4.319 GB, free: 52.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004745/9.223, allocations: 465.2 kB / 4.319 GB, free: 51.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/9.223, allocations: 27.53 kB / 4.319 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001126/9.223, allocations: 368.5 kB / 4.319 GB, free: 51.31 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/9.225, allocations: 1.08 MB / 4.32 GB, free: 50.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001833/9.227, allocations: 1.528 MB / 4.322 GB, free: 49.99 MB / 0.7136 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.008431/9.235, allocations: 5.831 MB / 4.328 GB, free: 46.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/9.235, allocations: 3.688 kB / 4.328 GB, free: 46.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005171/9.24, allocations: 3.331 MB / 4.331 GB, free: 45.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003038/9.241, allocations: 0.6373 MB / 4.331 GB, free: 44.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/9.241, allocations: 9.719 kB / 4.331 GB, free: 44.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004767/9.241, allocations: 148.2 kB / 4.332 GB, free: 44.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/9.242, allocations: 261.6 kB / 4.332 GB, free: 44.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008815/9.243, allocations: 1.287 MB / 4.333 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/9.246, allocations: 200.4 kB / 4.333 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002666/9.246, allocations: 87.75 kB / 4.333 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/9.246, allocations: 6.531 kB / 4.333 GB, free: 43.05 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004193/9.251, allocations: 3.414 MB / 4.337 GB, free: 41.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/9.251, allocations: 11.03 kB / 4.337 GB, free: 41.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003805/9.251, allocations: 153.1 kB / 4.337 GB, free: 41.35 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009474/9.252, allocations: 264.7 kB / 4.337 GB, free: 41.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007178/9.253, allocations: 1.287 MB / 4.338 GB, free: 40.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/9.256, allocations: 199.2 kB / 4.339 GB, free: 40.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002282/9.256, allocations: 85.84 kB / 4.339 GB, free: 40.11 MB / 0.7136 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.002337/9.258, allocations: 1.115 MB / 4.34 GB, free: 39.31 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009618/9.259, allocations: 323.5 kB / 4.34 GB, free: 39.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004146/9.263, allocations: 2.555 MB / 4.343 GB, free: 37.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/9.263, allocations: 14.09 kB / 4.343 GB, free: 37.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/9.263, allocations: 3.938 kB / 4.343 GB, free: 37.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002666/9.266, allocations: 2.299 MB / 4.345 GB, free: 36.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/9.277, allocations: 5.963 MB / 4.351 GB, free: 33.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/9.277, allocations: 6.562 kB / 4.351 GB, free: 33.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/9.278, allocations: 265.2 kB / 4.351 GB, free: 33.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.141e-05/9.278, allocations: 7.906 kB / 4.351 GB, free: 33.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001143/9.279, allocations: 50.83 kB / 4.351 GB, free: 33.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/9.279, allocations: 11.47 kB / 4.351 GB, free: 33.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/9.279, allocations: 7.625 kB / 4.351 GB, free: 33.8 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005168/9.284, allocations: 4.109 MB / 4.355 GB, free: 30.09 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002063/9.286, allocations: 0.7076 MB / 4.356 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/9.287, allocations: 40 kB / 4.356 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002341/9.289, allocations: 172.3 kB / 4.356 GB, free: 29.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003418/9.29, allocations: 165.3 kB / 4.356 GB, free: 29.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/9.29, allocations: 57.33 kB / 4.356 GB, free: 29.12 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004982/9.295, allocations: 2.353 MB / 4.358 GB, free: 27.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.61e-07/9.295, allocations: 0 / 4.358 GB, free: 27.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006805/9.302, allocations: 1.478 MB / 4.36 GB, free: 25.68 MB / 0.7136 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.004675/9.306, allocations: 2.832 MB / 4.363 GB, free: 23.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006888/9.313, allocations: 5.599 MB / 4.368 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/9.313, allocations: 12.19 kB / 4.368 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/9.315, allocations: 1.906 MB / 4.37 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01224/9.328, allocations: 1.648 MB / 4.372 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/9.341, allocations: 7.385 MB / 4.379 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002445/9.343, allocations: 2.079 MB / 4.381 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003812/9.347, allocations: 0.6469 MB / 4.381 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009247/9.348, allocations: 213.5 kB / 4.382 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of SimCode: time 1.222e-06/9.348, allocations: 0 / 4.382 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of Templates: time 0.5394/9.887, allocations: 91.12 MB / 4.471 GB, free: 74.69 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)