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.001124/0.001124, allocations: 172.4 kB / 7.648 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.7653/0.7653, allocations: 133.6 MB / 141.6 MB, free: 2.887 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.639/1.639, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009342/0.0009342, allocations: 98.08 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/2.99e-05, allocations: 11.97 kB / 0.5536 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5308/0.5309, allocations: 82.29 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.597/6.128, allocations: 2.147 GB / 2.781 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/6.128, allocations: 99.81 kB / 2.781 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.857/10.99, allocations: 1.238 GB / 4.019 GB, free: 62.11 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.562e-06/10.99, allocations: 1.062 kB / 4.019 GB, free: 62.11 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000419/10.99, allocations: 84.42 kB / 4.019 GB, free: 62.1 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.007464/10.99, allocations: 3.629 MB / 4.023 GB, free: 60.25 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/10.99, allocations: 10.44 kB / 4.023 GB, free: 60.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/11, allocations: 0.5329 MB / 4.023 GB, free: 60.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005929/11, allocations: 3.396 MB / 4.026 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.529e-05/11, allocations: 72.22 kB / 4.027 GB, free: 59.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/11, allocations: 138.7 kB / 4.027 GB, free: 59.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002986/11.01, allocations: 1.81 MB / 4.028 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003368/11.01, allocations: 2.233 MB / 4.031 GB, free: 59.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.759e-05/11.01, allocations: 1.812 kB / 4.031 GB, free: 59.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001685/11.01, allocations: 4.969 kB / 4.031 GB, free: 59.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.99e-05/11.01, allocations: 72.36 kB / 4.031 GB, free: 59.14 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.01323/11.02, allocations: 10.05 MB / 4.04 GB, free: 55.85 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/11.02, allocations: 1.406 MB / 4.042 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009881/11.03, allocations: 0.9552 MB / 4.043 GB, free: 55.79 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007595/11.03, allocations: 1.184 MB / 4.044 GB, free: 54.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/11.03, allocations: 51.62 kB / 4.044 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=126): time 3.236e-06/11.03, allocations: 0.9375 kB / 4.044 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=134): time 0.008888/11.03, allocations: 4.646 MB / 4.049 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/11.04, allocations: 341.1 kB / 4.049 GB, free: 53.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00389/11.04, allocations: 2.617 MB / 4.051 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002084/11.04, allocations: 35.45 kB / 4.051 GB, free: 52.84 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/11.04, allocations: 1.498 MB / 4.053 GB, free: 52.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/11.04, allocations: 435.6 kB / 4.053 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/11.04, allocations: 6.938 kB / 4.053 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.809e-05/11.04, allocations: 362.4 kB / 4.054 GB, free: 51.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/11.04, allocations: 1.017 MB / 4.055 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/11.04, allocations: 1.431 MB / 4.056 GB, free: 51.39 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.006347/11.05, allocations: 3.724 MB / 4.06 GB, free: 50.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/11.05, allocations: 3.688 kB / 4.06 GB, free: 50.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004544/11.05, allocations: 2.788 MB / 4.062 GB, free: 50.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006677/11.05, allocations: 2.897 MB / 4.065 GB, free: 47.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/11.06, allocations: 6.969 kB / 4.065 GB, free: 47.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/11.06, allocations: 137.7 kB / 4.065 GB, free: 47.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009813/11.06, allocations: 263.2 kB / 4.066 GB, free: 47.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007737/11.06, allocations: 1.308 MB / 4.067 GB, free: 46.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/11.06, allocations: 167.2 kB / 4.067 GB, free: 46.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/11.06, allocations: 86 kB / 4.067 GB, free: 46.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/11.06, allocations: 4.656 kB / 4.067 GB, free: 46.52 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003791/11.06, allocations: 2.71 MB / 4.07 GB, free: 46.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/11.06, allocations: 6.125 kB / 4.07 GB, free: 46.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003065/11.06, allocations: 136 kB / 4.07 GB, free: 46.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009529/11.07, allocations: 259.9 kB / 4.07 GB, free: 46.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007131/11.07, allocations: 1.304 MB / 4.071 GB, free: 45.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/11.07, allocations: 163.5 kB / 4.072 GB, free: 45.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/11.07, allocations: 85.22 kB / 4.072 GB, free: 45.39 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.0004635/11.07, allocations: 339.2 kB / 4.072 GB, free: 45.09 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003912/11.07, allocations: 2.034 MB / 4.074 GB, free: 44.87 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007507/11.07, allocations: 295.8 kB / 4.074 GB, free: 44.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005209/11.08, allocations: 2.165 MB / 4.076 GB, free: 44.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/11.08, allocations: 15.09 kB / 4.076 GB, free: 44.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/11.08, allocations: 0 / 4.076 GB, free: 44.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003856/11.08, allocations: 1.961 MB / 4.078 GB, free: 44.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/11.1, allocations: 5.368 MB / 4.084 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/11.1, allocations: 6.656 kB / 4.084 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/11.1, allocations: 258.3 kB / 4.084 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.964e-05/11.1, allocations: 10.66 kB / 4.084 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/11.1, allocations: 32.42 kB / 4.084 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.398e-05/11.1, allocations: 9.406 kB / 4.084 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.689e-06/11.1, allocations: 10.72 kB / 4.084 GB, free: 43.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007386/11.11, allocations: 4.177 MB / 4.088 GB, free: 42.62 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/11.11, allocations: 0.6803 MB / 4.089 GB, free: 42.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000855/11.11, allocations: 21.19 kB / 4.089 GB, free: 42.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/11.11, allocations: 148.5 kB / 4.089 GB, free: 42.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/11.11, allocations: 164.4 kB / 4.089 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/11.11, allocations: 60.5 kB / 4.089 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00479/11.12, allocations: 1.984 MB / 4.091 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.724e-06/11.12, allocations: 0 / 4.091 GB, free: 42.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00657/11.12, allocations: 1.379 MB / 4.092 GB, free: 42.14 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.01003/11.13, allocations: 8.839 MB / 4.101 GB, free: 38.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005286/11.14, allocations: 5.455 MB / 4.106 GB, free: 36.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/11.14, allocations: 3.938 kB / 4.106 GB, free: 36.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/11.14, allocations: 1.83 MB / 4.108 GB, free: 36.47 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006505/11.15, allocations: 1.393 MB / 4.109 GB, free: 36.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/11.16, allocations: 5.887 MB / 4.115 GB, free: 34.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/11.16, allocations: 2.161 MB / 4.117 GB, free: 34.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004077/11.17, allocations: 0.981 MB / 4.118 GB, free: 34.1 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/11.17, allocations: 1.282 MB / 4.119 GB, free: 34.09 MB / 0.7136 GB Notification: Performance of SimCode: time 9.72e-07/11.17, allocations: 0 / 4.119 GB, free: 34.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/11.33, allocations: 103.2 MB / 4.22 GB, free: 7 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/11.33, allocations: 176.6 kB / 4.22 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.542/16.87, allocations: 0 / 4.22 GB, free: 6.809 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)