Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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/IDEAS 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7703/0.7703, allocations: 133.6 MB / 141.6 MB, free: 2.855 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.682/1.682, allocations: 221.5 MB / 395.5 MB, free: 10.78 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.00104/0.00104, allocations: 94.73 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.724e-05, allocations: 4 kB / 0.5535 GB, free: 9.027 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5913/0.5914, allocations: 82.3 MB / 0.6338 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.147/6.739, allocations: 2.147 GB / 2.78 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/6.739, allocations: 104.2 kB / 2.781 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.068/11.81, allocations: 1.238 GB / 4.019 GB, free: 61.88 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.674e-06/11.81, allocations: 1.25 kB / 4.019 GB, free: 61.88 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006238/11.81, allocations: 84.03 kB / 4.019 GB, free: 61.87 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.01041/11.82, allocations: 3.629 MB / 4.022 GB, free: 60.01 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/11.82, allocations: 13.62 kB / 4.023 GB, free: 60.01 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/11.82, allocations: 0.5292 MB / 4.023 GB, free: 59.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00998/11.83, allocations: 3.398 MB / 4.026 GB, free: 59.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/11.83, allocations: 66.34 kB / 4.026 GB, free: 59.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/11.83, allocations: 143.3 kB / 4.027 GB, free: 59.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004285/11.84, allocations: 1.809 MB / 4.028 GB, free: 59.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00372/11.84, allocations: 2.231 MB / 4.03 GB, free: 58.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/11.84, allocations: 3.938 kB / 4.03 GB, free: 58.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/11.84, allocations: 7.266 kB / 4.03 GB, free: 58.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.817e-05/11.84, allocations: 70.8 kB / 4.031 GB, free: 58.91 MB / 0.7136 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.01421/11.86, allocations: 10.05 MB / 4.04 GB, free: 55.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/11.86, allocations: 1.408 MB / 4.042 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/11.86, allocations: 0.955 MB / 4.043 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009587/11.86, allocations: 1.18 MB / 4.044 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/11.86, allocations: 50.94 kB / 4.044 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 4.178e-06/11.86, allocations: 3.531 kB / 4.044 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=134): time 0.01019/11.87, allocations: 4.643 MB / 4.048 GB, free: 53.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/11.87, allocations: 345.2 kB / 4.049 GB, free: 52.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004149/11.87, allocations: 2.622 MB / 4.051 GB, free: 52.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/11.87, allocations: 34.02 kB / 4.051 GB, free: 52.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/11.88, allocations: 1.494 MB / 4.053 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003427/11.88, allocations: 437.2 kB / 4.053 GB, free: 51.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.549e-05/11.88, allocations: 6.078 kB / 4.053 GB, free: 51.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001044/11.88, allocations: 363 kB / 4.054 GB, free: 51.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/11.88, allocations: 1.011 MB / 4.055 GB, free: 51.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/11.88, allocations: 1.44 MB / 4.056 GB, free: 51.15 MB / 0.7136 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.006233/11.88, allocations: 3.723 MB / 4.06 GB, free: 50.63 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/11.88, allocations: 3.75 kB / 4.06 GB, free: 50.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004958/11.89, allocations: 2.799 MB / 4.062 GB, free: 50.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007506/11.89, allocations: 2.889 MB / 4.065 GB, free: 47.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/11.89, allocations: 5 kB / 4.065 GB, free: 47.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003726/11.89, allocations: 143.1 kB / 4.065 GB, free: 47.33 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/11.89, allocations: 262.8 kB / 4.066 GB, free: 47.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008542/11.89, allocations: 1.305 MB / 4.067 GB, free: 46.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002931/11.9, allocations: 168.3 kB / 4.067 GB, free: 46.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000279/11.9, allocations: 80.14 kB / 4.067 GB, free: 46.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/11.9, allocations: 5.562 kB / 4.067 GB, free: 46.28 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004259/11.9, allocations: 2.708 MB / 4.07 GB, free: 46.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/11.9, allocations: 8.672 kB / 4.07 GB, free: 46.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/11.9, allocations: 141.6 kB / 4.07 GB, free: 46.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/11.9, allocations: 265 kB / 4.07 GB, free: 46.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007922/11.9, allocations: 1.304 MB / 4.071 GB, free: 45.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00305/11.91, allocations: 170.5 kB / 4.072 GB, free: 45.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/11.91, allocations: 86.55 kB / 4.072 GB, free: 45.15 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 () * 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.0006226/11.91, allocations: 329.6 kB / 4.072 GB, free: 44.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007798/11.91, allocations: 308.2 kB / 4.072 GB, free: 44.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004139/11.91, allocations: 2.163 MB / 4.074 GB, free: 44.58 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/11.91, allocations: 10.66 kB / 4.074 GB, free: 44.58 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/11.91, allocations: 0 / 4.074 GB, free: 44.58 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002597/11.91, allocations: 1.964 MB / 4.076 GB, free: 44.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/11.93, allocations: 5.365 MB / 4.082 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/11.93, allocations: 6.438 kB / 4.082 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/11.93, allocations: 259.7 kB / 4.082 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-05/11.93, allocations: 12.59 kB / 4.082 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/11.93, allocations: 24.38 kB / 4.082 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-05/11.93, allocations: 12.88 kB / 4.082 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.058e-05/11.93, allocations: 14.67 kB / 4.082 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005758/11.93, allocations: 4.17 MB / 4.086 GB, free: 42.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002405/11.94, allocations: 0.6819 MB / 4.087 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006555/11.94, allocations: 22.92 kB / 4.087 GB, free: 42.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/11.94, allocations: 148 kB / 4.087 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/11.94, allocations: 160.9 kB / 4.087 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/11.94, allocations: 56.69 kB / 4.087 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003248/11.94, allocations: 1.986 MB / 4.089 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/11.94, allocations: 1.812 kB / 4.089 GB, free: 42.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005289/11.95, allocations: 1.375 MB / 4.09 GB, free: 42.12 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.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.004607/11.95, allocations: 2.934 MB / 4.093 GB, free: 41.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006278/11.96, allocations: 5.455 MB / 4.098 GB, free: 39.63 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/11.96, allocations: 3.875 kB / 4.098 GB, free: 39.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001971/11.96, allocations: 1.833 MB / 4.1 GB, free: 39.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007445/11.97, allocations: 1.392 MB / 4.102 GB, free: 39.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009994/11.98, allocations: 5.15 MB / 4.107 GB, free: 37.91 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001706/11.98, allocations: 2.157 MB / 4.109 GB, free: 37.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004422/11.98, allocations: 0.9702 MB / 4.11 GB, free: 37.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/11.98, allocations: 146.6 kB / 4.11 GB, free: 37.02 MB / 0.7136 GB Notification: Performance of SimCode: time 2.194e-06/11.98, allocations: 0 / 4.11 GB, free: 37.02 MB / 0.7136 GB Notification: Performance of Templates: time 0.1119/12.1, allocations: 72.48 MB / 4.181 GB, free: 12.71 MB / 0.7136 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)