Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="IDEAS_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.001744/0.001744, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9628/0.9628, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.0009295, allocations: 86.48 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.821e-05, allocations: 2.719 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1978, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.527/5.725, allocations: 2.147 GB / 2.788 GB, free: 39.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/5.725, allocations: 99.94 kB / 2.788 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.028/10.75, allocations: 1.247 GB / 4.035 GB, free: 64.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.944e-06/10.75, allocations: 0 / 4.035 GB, free: 64.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0006606/10.75, allocations: 88.73 kB / 4.035 GB, free: 64.28 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.01024/10.76, allocations: 3.625 MB / 4.039 GB, free: 62.19 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/10.76, allocations: 8.906 kB / 4.039 GB, free: 62.19 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001174/10.77, allocations: 295 kB / 4.039 GB, free: 62.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003627/10.77, allocations: 0.5316 MB / 4.04 GB, free: 61.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009769/10.78, allocations: 3.41 MB / 4.043 GB, free: 61.27 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/10.78, allocations: 164.1 kB / 4.043 GB, free: 61.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009401/10.78, allocations: 224.5 kB / 4.043 GB, free: 61.26 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006524/10.79, allocations: 2.516 MB / 4.046 GB, free: 60.98 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.268e-05/10.79, allocations: 6.094 kB / 4.046 GB, free: 60.98 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004838/10.79, allocations: 91.44 kB / 4.046 GB, free: 60.98 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.798e-05/10.79, allocations: 70.95 kB / 4.046 GB, free: 60.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/10.79, allocations: 1.92 MB / 4.048 GB, free: 60.95 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.01773/10.81, allocations: 10.5 MB / 4.058 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002123/10.81, allocations: 1.462 MB / 4.059 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001258/10.81, allocations: 0.9907 MB / 4.06 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008467/10.81, allocations: 1.183 MB / 4.062 GB, free: 53.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/10.81, allocations: 51.97 kB / 4.062 GB, free: 53.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 3.346e-06/10.81, allocations: 7.312 kB / 4.062 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=134): time 0.0103/10.82, allocations: 5.32 MB / 4.067 GB, free: 50.28 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/10.82, allocations: 336.3 kB / 4.067 GB, free: 49.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006595/10.83, allocations: 3.054 MB / 4.07 GB, free: 48.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003083/10.83, allocations: 63.39 kB / 4.07 GB, free: 48.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001616/10.83, allocations: 1.479 MB / 4.072 GB, free: 47.49 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004815/10.83, allocations: 455.7 kB / 4.072 GB, free: 47.14 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/10.83, allocations: 34.81 kB / 4.072 GB, free: 47.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001352/10.83, allocations: 363.4 kB / 4.072 GB, free: 46.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/10.83, allocations: 1.035 MB / 4.074 GB, free: 46.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/10.84, allocations: 1.482 MB / 4.075 GB, free: 45.47 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.007199/10.84, allocations: 4.186 MB / 4.079 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/10.84, allocations: 2.031 kB / 4.079 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005675/10.85, allocations: 3.266 MB / 4.082 GB, free: 41.79 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001049/10.85, allocations: 2.943 MB / 4.085 GB, free: 38.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/10.85, allocations: 3.812 kB / 4.085 GB, free: 38.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006529/10.85, allocations: 151.2 kB / 4.085 GB, free: 38.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/10.85, allocations: 260.9 kB / 4.085 GB, free: 38.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009954/10.85, allocations: 1.295 MB / 4.087 GB, free: 37.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003856/10.86, allocations: 209.9 kB / 4.087 GB, free: 37.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/10.86, allocations: 81.17 kB / 4.087 GB, free: 37.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/10.86, allocations: 3.625 kB / 4.087 GB, free: 37.35 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004136/10.86, allocations: 3.351 MB / 4.09 GB, free: 35.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/10.86, allocations: 7.594 kB / 4.09 GB, free: 35.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004521/10.86, allocations: 153 kB / 4.09 GB, free: 35.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/10.86, allocations: 264.7 kB / 4.091 GB, free: 35.65 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000734/10.86, allocations: 1.29 MB / 4.092 GB, free: 34.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/10.87, allocations: 205.1 kB / 4.092 GB, free: 34.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/10.87, allocations: 84.69 kB / 4.092 GB, free: 34.42 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.0005749/10.87, allocations: 402.2 kB / 4.093 GB, free: 34.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009828/10.87, allocations: 325.1 kB / 4.093 GB, free: 33.88 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004089/10.87, allocations: 2.464 MB / 4.095 GB, free: 32.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/10.87, allocations: 17.91 kB / 4.095 GB, free: 32.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/10.87, allocations: 4 kB / 4.095 GB, free: 32.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002537/10.88, allocations: 2.218 MB / 4.098 GB, free: 31.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01141/10.89, allocations: 5.903 MB / 4.103 GB, free: 26.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/10.89, allocations: 7.891 kB / 4.103 GB, free: 26.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/10.89, allocations: 270.1 kB / 4.104 GB, free: 26.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-05/10.89, allocations: 8 kB / 4.104 GB, free: 26.33 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/10.89, allocations: 43.61 kB / 4.104 GB, free: 26.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.304e-05/10.89, allocations: 11.94 kB / 4.104 GB, free: 26.28 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/10.89, allocations: 11.94 kB / 4.104 GB, free: 26.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004948/10.89, allocations: 4.585 MB / 4.108 GB, free: 21.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/10.9, allocations: 0.7139 MB / 4.109 GB, free: 21.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009695/10.9, allocations: 39.38 kB / 4.109 GB, free: 21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/10.9, allocations: 174.3 kB / 4.109 GB, free: 20.87 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002937/10.9, allocations: 155.5 kB / 4.109 GB, free: 20.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/10.9, allocations: 70.98 kB / 4.109 GB, free: 20.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004523/10.9, allocations: 2.358 MB / 4.112 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/10.9, allocations: 0 / 4.112 GB, free: 18.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006495/10.91, allocations: 1.501 MB / 4.113 GB, free: 17.09 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.0107/10.92, allocations: 9.092 MB / 4.122 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006409/10.93, allocations: 5.606 MB / 4.127 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/10.93, allocations: 8.25 kB / 4.127 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001922/10.93, allocations: 1.868 MB / 4.129 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009172/10.94, allocations: 1.627 MB / 4.131 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01727/10.96, allocations: 6.054 MB / 4.137 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003207/10.96, allocations: 2.148 MB / 4.139 GB, free: 7.52 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.005913/10.96, allocations: 1.069 MB / 4.14 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001976/10.97, allocations: 1.288 MB / 4.141 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of SimCode: time 8.42e-07/10.97, allocations: 0 / 4.141 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8408/11.81, allocations: 136.5 MB / 4.274 GB, free: 80.52 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002075/11.81, allocations: 230.8 kB / 4.275 GB, free: 80.27 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.653/18.46, allocations: 0 / 4.275 GB, free: 80.27 MB / 0.7448 GB (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1)