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: "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001828/0.001828, allocations: 180.9 kB / 7.65 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.8048/0.8048, allocations: 133.6 MB / 141.6 MB, free: 2.953 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.607/1.607, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.0009822/0.0009823, allocations: 104.4 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.586e-05/2.588e-05, allocations: 4 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5339, allocations: 82.29 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.404/5.938, allocations: 2.147 GB / 2.781 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/5.938, allocations: 99.94 kB / 2.781 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.509/10.45, allocations: 1.238 GB / 4.019 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.894e-06/10.45, allocations: 0 / 4.019 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0006134/10.45, allocations: 94.58 kB / 4.019 GB, free: 7.059 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.0102/10.46, allocations: 3.622 MB / 4.023 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/10.46, allocations: 16.02 kB / 4.023 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/10.46, allocations: 0.5262 MB / 4.023 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5533/11.01, allocations: 3.402 MB / 4.026 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/11.02, allocations: 72.17 kB / 4.027 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006945/11.02, allocations: 132.2 kB / 4.027 GB, free: 57.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004684/11.02, allocations: 1.806 MB / 4.028 GB, free: 57.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00495/11.03, allocations: 2.232 MB / 4.031 GB, free: 57.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/11.03, allocations: 1.969 kB / 4.031 GB, free: 57.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/11.03, allocations: 8.578 kB / 4.031 GB, free: 57.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.432e-05/11.03, allocations: 78.36 kB / 4.031 GB, free: 57.04 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.01527/11.04, allocations: 10.05 MB / 4.04 GB, free: 53.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/11.04, allocations: 1.408 MB / 4.042 GB, free: 53.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/11.04, allocations: 0.9456 MB / 4.043 GB, free: 53.91 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008822/11.05, allocations: 1.187 MB / 4.044 GB, free: 52.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/11.05, allocations: 55.02 kB / 4.044 GB, free: 52.55 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=126): time 3.647e-06/11.05, allocations: 0 / 4.044 GB, free: 52.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=134): time 0.01012/11.06, allocations: 4.641 MB / 4.049 GB, free: 51.67 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/11.06, allocations: 342.5 kB / 4.049 GB, free: 51.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004144/11.06, allocations: 2.616 MB / 4.051 GB, free: 51.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003689/11.06, allocations: 39.77 kB / 4.051 GB, free: 51.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001241/11.06, allocations: 1.493 MB / 4.053 GB, free: 50.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005293/11.06, allocations: 436.7 kB / 4.053 GB, free: 50.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/11.06, allocations: 8.656 kB / 4.053 GB, free: 50.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001113/11.06, allocations: 366.1 kB / 4.054 GB, free: 50.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/11.06, allocations: 1.011 MB / 4.055 GB, free: 50.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/11.06, allocations: 1.436 MB / 4.056 GB, free: 49.76 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.007787/11.07, allocations: 3.722 MB / 4.06 GB, free: 49.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/11.07, allocations: 0 / 4.06 GB, free: 49.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004789/11.08, allocations: 2.796 MB / 4.062 GB, free: 49.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006223/11.08, allocations: 2.897 MB / 4.065 GB, free: 45.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/11.08, allocations: 5.875 kB / 4.065 GB, free: 45.96 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004115/11.08, allocations: 143.2 kB / 4.065 GB, free: 45.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/11.08, allocations: 260.4 kB / 4.066 GB, free: 45.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008691/11.08, allocations: 1.299 MB / 4.067 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/11.08, allocations: 170.6 kB / 4.067 GB, free: 44.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002338/11.08, allocations: 85 kB / 4.067 GB, free: 44.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/11.08, allocations: 4.406 kB / 4.067 GB, free: 44.9 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004133/11.09, allocations: 2.707 MB / 4.07 GB, free: 44.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/11.09, allocations: 10.19 kB / 4.07 GB, free: 44.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/11.09, allocations: 135.8 kB / 4.07 GB, free: 44.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/11.09, allocations: 261.3 kB / 4.07 GB, free: 44.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007297/11.09, allocations: 1.307 MB / 4.071 GB, free: 43.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/11.09, allocations: 166.1 kB / 4.072 GB, free: 43.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/11.09, allocations: 83.14 kB / 4.072 GB, free: 43.78 MB / 0.7292 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.0005188/11.09, allocations: 337.6 kB / 4.072 GB, free: 43.49 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003256/11.1, allocations: 2.03 MB / 4.074 GB, free: 43.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004876/11.1, allocations: 296.3 kB / 4.074 GB, free: 43.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/11.1, allocations: 2.16 MB / 4.076 GB, free: 43.01 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/11.1, allocations: 13.22 kB / 4.076 GB, free: 43.01 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/11.1, allocations: 2.844 kB / 4.076 GB, free: 43.01 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002246/11.1, allocations: 1.961 MB / 4.078 GB, free: 42.73 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008382/11.11, allocations: 5.371 MB / 4.084 GB, free: 42.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/11.11, allocations: 2.969 kB / 4.084 GB, free: 42.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/11.11, allocations: 262.7 kB / 4.084 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/11.11, allocations: 12.47 kB / 4.084 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/11.11, allocations: 25.12 kB / 4.084 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/11.11, allocations: 17.59 kB / 4.084 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/11.11, allocations: 8.344 kB / 4.084 GB, free: 42.18 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005027/11.12, allocations: 4.175 MB / 4.088 GB, free: 41.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001801/11.12, allocations: 0.6762 MB / 4.089 GB, free: 40.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/11.12, allocations: 20.72 kB / 4.089 GB, free: 40.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/11.12, allocations: 147.1 kB / 4.089 GB, free: 40.77 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002961/11.12, allocations: 166.5 kB / 4.089 GB, free: 40.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/11.12, allocations: 60.28 kB / 4.089 GB, free: 40.76 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003069/11.12, allocations: 1.983 MB / 4.091 GB, free: 40.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.3e-07/11.12, allocations: 4.156 kB / 4.091 GB, free: 40.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004606/11.13, allocations: 1.376 MB / 4.092 GB, free: 40.62 MB / 0.7292 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.008983/11.14, allocations: 8.83 MB / 4.101 GB, free: 36.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005908/11.14, allocations: 5.463 MB / 4.106 GB, free: 35.42 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/11.14, allocations: 0.75 kB / 4.106 GB, free: 35.42 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/11.15, allocations: 1.836 MB / 4.108 GB, free: 35.04 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007142/11.15, allocations: 1.397 MB / 4.109 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/11.17, allocations: 5.885 MB / 4.115 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00155/11.17, allocations: 2.157 MB / 4.117 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00399/11.17, allocations: 0.9753 MB / 4.118 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/11.17, allocations: 1.282 MB / 4.119 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/11.17, allocations: 0 / 4.119 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/11.33, allocations: 103.2 MB / 4.22 GB, free: 26.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/11.33, allocations: 189.2 kB / 4.22 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.946/18.28, allocations: 0 / 4.22 GB, free: 26.39 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > IDEAS_dev_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)