Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.508/2.508, allocations: 387.1 MB / 399.7 MB, free: 9.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001245, allocations: 175.9 kB / 492.3 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 221.3 MB / 0.7871 GB, free: 12.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009935/0.0009935, allocations: 95.89 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.98e-05/5.011e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3906, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.054/6.444, allocations: 2.184 GB / 3.397 GB, free: 117.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/6.445, allocations: 101.2 kB / 3.397 GB, free: 117.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.568/12.01, allocations: 1.251 GB / 4.648 GB, free: 158.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.175e-06/12.01, allocations: 0 / 4.648 GB, free: 158.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007415/12.01, allocations: 91.23 kB / 4.649 GB, free: 158.8 MB / 1.167 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.01249/12.03, allocations: 3.627 MB / 4.652 GB, free: 156.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/12.03, allocations: 7.812 kB / 4.652 GB, free: 156.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001383/12.03, allocations: 290.4 kB / 4.652 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/12.03, allocations: 0.5272 MB / 4.653 GB, free: 155.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01045/12.04, allocations: 3.409 MB / 4.656 GB, free: 153.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000246/12.04, allocations: 166 kB / 4.656 GB, free: 153.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/12.04, allocations: 225.3 kB / 4.657 GB, free: 153.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005494/12.05, allocations: 2.518 MB / 4.659 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/12.05, allocations: 8.125 kB / 4.659 GB, free: 151.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/12.05, allocations: 92.33 kB / 4.659 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-05/12.05, allocations: 72.45 kB / 4.659 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003128/12.05, allocations: 1.92 MB / 4.661 GB, free: 150.8 MB / 1.167 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.01579/12.07, allocations: 10.5 MB / 4.671 GB, free: 142.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/12.07, allocations: 1.454 MB / 4.673 GB, free: 141.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/12.07, allocations: 0.9917 MB / 4.674 GB, free: 141.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009628/12.07, allocations: 1.188 MB / 4.675 GB, free: 139.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/12.07, allocations: 51.34 kB / 4.675 GB, free: 139.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 5.35e-06/12.07, allocations: 3.609 kB / 4.675 GB, free: 139.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.01014/12.08, allocations: 5.313 MB / 4.68 GB, free: 136.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/12.08, allocations: 341.4 kB / 4.68 GB, free: 136.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005025/12.09, allocations: 3.053 MB / 4.683 GB, free: 134 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003048/12.09, allocations: 57.7 kB / 4.684 GB, free: 133.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001134/12.09, allocations: 1.475 MB / 4.685 GB, free: 132.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004412/12.09, allocations: 457.8 kB / 4.685 GB, free: 132 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.403e-05/12.09, allocations: 31.84 kB / 4.685 GB, free: 132 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001306/12.09, allocations: 369.9 kB / 4.686 GB, free: 131.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/12.09, allocations: 1.036 MB / 4.687 GB, free: 130.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/12.09, allocations: 1.476 MB / 4.688 GB, free: 128.9 MB / 1.167 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.006779/12.1, allocations: 4.193 MB / 4.692 GB, free: 124.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/12.1, allocations: 0 / 4.692 GB, free: 124.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005073/12.1, allocations: 3.263 MB / 4.695 GB, free: 121.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008203/12.11, allocations: 2.938 MB / 4.698 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/12.11, allocations: 11.98 kB / 4.698 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/12.11, allocations: 151.8 kB / 4.699 GB, free: 117.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009656/12.11, allocations: 263.6 kB / 4.699 GB, free: 117.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007826/12.11, allocations: 1.291 MB / 4.7 GB, free: 116.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/12.11, allocations: 214.1 kB / 4.7 GB, free: 116.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002054/12.11, allocations: 79.98 kB / 4.7 GB, free: 116.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/12.11, allocations: 4 kB / 4.7 GB, free: 116.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004083/12.12, allocations: 3.349 MB / 4.704 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/12.12, allocations: 9.312 kB / 4.704 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000433/12.12, allocations: 155.1 kB / 4.704 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009173/12.12, allocations: 267.1 kB / 4.704 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008242/12.12, allocations: 1.291 MB / 4.705 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/12.12, allocations: 207.5 kB / 4.705 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/12.12, allocations: 75.98 kB / 4.706 GB, free: 110.6 MB / 1.167 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.0006802/12.12, allocations: 395.7 kB / 4.706 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000717/12.12, allocations: 327.6 kB / 4.706 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/12.13, allocations: 2.474 MB / 4.709 GB, free: 107.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/12.13, allocations: 13.91 kB / 4.709 GB, free: 107.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/12.13, allocations: 3.953 kB / 4.709 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00234/12.13, allocations: 2.217 MB / 4.711 GB, free: 105 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009166/12.14, allocations: 5.91 MB / 4.717 GB, free: 99.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/12.14, allocations: 9.297 kB / 4.717 GB, free: 99.01 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/12.14, allocations: 257.7 kB / 4.717 GB, free: 98.76 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/12.14, allocations: 15.95 kB / 4.717 GB, free: 98.74 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/12.14, allocations: 42.55 kB / 4.717 GB, free: 98.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/12.14, allocations: 11.94 kB / 4.717 GB, free: 98.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/12.14, allocations: 15.92 kB / 4.717 GB, free: 98.68 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005181/12.14, allocations: 4.566 MB / 4.721 GB, free: 93.87 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/12.15, allocations: 0.7086 MB / 4.722 GB, free: 93.14 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/12.15, allocations: 44 kB / 4.722 GB, free: 93.09 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/12.15, allocations: 168 kB / 4.722 GB, free: 92.94 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/12.15, allocations: 163.9 kB / 4.722 GB, free: 92.79 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/12.15, allocations: 59.97 kB / 4.722 GB, free: 92.73 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003978/12.15, allocations: 2.371 MB / 4.725 GB, free: 90.38 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/12.15, allocations: 0 / 4.725 GB, free: 90.38 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00585/12.16, allocations: 1.509 MB / 4.726 GB, free: 88.87 MB / 1.167 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.medium.Xi[1],vol.dynBal.U,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.01031/12.17, allocations: 9.064 MB / 4.735 GB, free: 80.05 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006053/12.18, allocations: 5.611 MB / 4.741 GB, free: 74.15 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/12.18, allocations: 1.844 kB / 4.741 GB, free: 74.15 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001994/12.18, allocations: 1.867 MB / 4.742 GB, free: 72.21 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008516/12.19, allocations: 1.598 MB / 4.744 GB, free: 70.75 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/12.2, allocations: 6.077 MB / 4.75 GB, free: 64.71 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001553/12.2, allocations: 2.156 MB / 4.752 GB, free: 62.53 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004414/12.21, allocations: 1.056 MB / 4.753 GB, free: 61.53 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/12.21, allocations: 1.288 MB / 4.754 GB, free: 60.24 MB / 1.167 GB Notification: Performance of SimCode: time 1.914e-06/12.21, allocations: 0 / 4.754 GB, free: 60.24 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.17/13.38, allocations: 136.5 MB / 4.888 GB, free: 176.8 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/13.38, allocations: 234.5 kB / 4.888 GB, free: 176.5 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/20.58, allocations: 0 / 4.888 GB, free: 176.5 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat does not exist to compare? outputFormat=mat