Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.238/2.238, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001522/0.001522, allocations: 194.5 kB / 0.4902 GB, free: 2.266 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.534/1.534, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.001033/0.001033, allocations: 96.2 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 9.562 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2787, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.424/5.702, allocations: 2.185 GB / 3.415 GB, free: 182.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/5.703, allocations: 112.1 kB / 3.415 GB, free: 182.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.752/10.46, allocations: 1.254 GB / 4.669 GB, free: 162.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.974e-06/10.46, allocations: 0 / 4.669 GB, free: 162.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0006653/10.46, allocations: 90.28 kB / 4.669 GB, free: 162.7 MB / 1.182 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.01423/10.47, allocations: 4.315 MB / 4.673 GB, free: 160.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/10.47, allocations: 10.72 kB / 4.673 GB, free: 160.7 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001515/10.47, allocations: 294.9 kB / 4.674 GB, free: 160.6 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003473/10.48, allocations: 0.5377 MB / 4.674 GB, free: 160.4 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009956/10.49, allocations: 3.431 MB / 4.677 GB, free: 159.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/10.49, allocations: 163.4 kB / 4.678 GB, free: 159.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004296/10.49, allocations: 224.6 kB / 4.678 GB, free: 159.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004289/10.49, allocations: 2.581 MB / 4.68 GB, free: 159.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.982e-05/10.49, allocations: 4.312 kB / 4.68 GB, free: 159.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/10.49, allocations: 89.03 kB / 4.68 GB, free: 159.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.287e-05/10.49, allocations: 77.7 kB / 4.68 GB, free: 159.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003201/10.49, allocations: 2.023 MB / 4.682 GB, free: 159.5 MB / 1.182 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01467/10.51, allocations: 10.49 MB / 4.693 GB, free: 156.1 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/10.51, allocations: 1.536 MB / 4.694 GB, free: 156.1 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008406/10.51, allocations: 1.183 MB / 4.695 GB, free: 154.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/10.51, allocations: 53.84 kB / 4.695 GB, free: 154.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=126): time 3.927e-06/10.51, allocations: 0 / 4.695 GB, free: 154.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=134): time 0.01121/10.52, allocations: 6.792 MB / 4.702 GB, free: 152.6 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/10.52, allocations: 345.4 kB / 4.702 GB, free: 152.2 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004832/10.53, allocations: 3.088 MB / 4.705 GB, free: 152 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000346/10.53, allocations: 61.45 kB / 4.705 GB, free: 152 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001156/10.53, allocations: 1.466 MB / 4.707 GB, free: 151.6 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/10.53, allocations: 456.7 kB / 4.707 GB, free: 151.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.421e-05/10.53, allocations: 33.89 kB / 4.707 GB, free: 151.3 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/10.53, allocations: 370.8 kB / 4.708 GB, free: 151 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/10.53, allocations: 1.084 MB / 4.709 GB, free: 151 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/10.53, allocations: 1.513 MB / 4.71 GB, free: 150.6 MB / 1.182 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.006941/10.54, allocations: 4.28 MB / 4.714 GB, free: 149.7 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/10.54, allocations: 0 / 4.714 GB, free: 149.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004829/10.54, allocations: 3.329 MB / 4.718 GB, free: 149.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006327/10.55, allocations: 2.942 MB / 4.721 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/10.55, allocations: 7.125 kB / 4.721 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004699/10.55, allocations: 144.9 kB / 4.721 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/10.55, allocations: 264.3 kB / 4.721 GB, free: 146 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007623/10.55, allocations: 1.288 MB / 4.722 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/10.55, allocations: 209.3 kB / 4.722 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/10.55, allocations: 90.75 kB / 4.722 GB, free: 145 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/10.55, allocations: 3.75 kB / 4.722 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004172/10.56, allocations: 3.409 MB / 4.726 GB, free: 144.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/10.56, allocations: 10.22 kB / 4.726 GB, free: 144.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/10.56, allocations: 143.2 kB / 4.726 GB, free: 144.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000987/10.56, allocations: 263.3 kB / 4.726 GB, free: 144.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007164/10.56, allocations: 1.288 MB / 4.727 GB, free: 143.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003344/10.56, allocations: 195.2 kB / 4.728 GB, free: 143.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/10.56, allocations: 87.3 kB / 4.728 GB, free: 143.5 MB / 1.182 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 () * Number of clocked 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.002351/10.56, allocations: 1.11 MB / 4.729 GB, free: 143.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009058/10.56, allocations: 329.4 kB / 4.729 GB, free: 142.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/10.57, allocations: 2.555 MB / 4.732 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/10.57, allocations: 21.02 kB / 4.732 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/10.57, allocations: 0 / 4.732 GB, free: 142.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002522/10.57, allocations: 2.304 MB / 4.734 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009869/10.58, allocations: 5.983 MB / 4.74 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/10.58, allocations: 10.83 kB / 4.74 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/10.58, allocations: 262.9 kB / 4.74 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.378e-05/10.58, allocations: 9.375 kB / 4.74 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/10.58, allocations: 44.16 kB / 4.74 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/10.58, allocations: 14.48 kB / 4.74 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/10.58, allocations: 8.594 kB / 4.74 GB, free: 140.6 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005138/10.59, allocations: 4.69 MB / 4.745 GB, free: 137.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/10.59, allocations: 0.7124 MB / 4.745 GB, free: 137.3 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006529/10.59, allocations: 45.97 kB / 4.745 GB, free: 137.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/10.59, allocations: 169.2 kB / 4.746 GB, free: 137.3 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003055/10.59, allocations: 162.6 kB / 4.746 GB, free: 137.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/10.59, allocations: 63.3 kB / 4.746 GB, free: 137.2 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004044/10.6, allocations: 2.394 MB / 4.748 GB, free: 136.3 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.51e-07/10.6, allocations: 0 / 4.748 GB, free: 136.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005853/10.6, allocations: 1.512 MB / 4.75 GB, free: 136 MB / 1.182 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.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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.00991/10.61, allocations: 9.173 MB / 4.759 GB, free: 130.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.006187/10.62, allocations: 5.613 MB / 4.764 GB, free: 127.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/10.62, allocations: 0 / 4.764 GB, free: 127.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/10.62, allocations: 1.913 MB / 4.766 GB, free: 126.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007815/10.63, allocations: 1.592 MB / 4.767 GB, free: 126.3 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/10.65, allocations: 12.83 MB / 4.78 GB, free: 117.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001786/10.65, allocations: 2.148 MB / 4.782 GB, free: 116.6 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003424/10.65, allocations: 0.6429 MB / 4.783 GB, free: 116.6 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002043/10.65, allocations: 1.365 MB / 4.784 GB, free: 115.5 MB / 1.182 GB Notification: Performance of SimCode: time 9.62e-07/10.65, allocations: 0 / 4.784 GB, free: 115.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1826/10.84, allocations: 125.5 MB / 4.907 GB, free: 22.69 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/10.84, allocations: 281.8 kB / 4.907 GB, free: 22.32 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.195/17.03, allocations: 5.312 kB / 4.907 GB, free: 22.32 MB / 1.182 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat does not exist to compare? outputFormat=mat