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.286/2.286, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001133/0.001133, allocations: 188.7 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.001131/0.001131, allocations: 95.84 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.96e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3118, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.87/6.182, allocations: 2.185 GB / 3.404 GB, free: 101.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/6.182, allocations: 104.6 kB / 3.404 GB, free: 101.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.009/11.19, allocations: 1.251 GB / 4.656 GB, free: 153 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.665e-06/11.19, allocations: 3.984 kB / 4.656 GB, free: 153 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004162/11.19, allocations: 89.36 kB / 4.656 GB, free: 152.9 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.009167/11.2, allocations: 3.628 MB / 4.659 GB, free: 150.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/11.2, allocations: 11.5 kB / 4.659 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007436/11.2, allocations: 289.4 kB / 4.66 GB, free: 150.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00277/11.2, allocations: 0.535 MB / 4.66 GB, free: 149.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008114/11.21, allocations: 3.404 MB / 4.663 GB, free: 147.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/11.21, allocations: 160 kB / 4.664 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005442/11.21, allocations: 228.1 kB / 4.664 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004383/11.22, allocations: 2.52 MB / 4.666 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.573e-05/11.22, allocations: 3.953 kB / 4.666 GB, free: 145.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/11.22, allocations: 87.09 kB / 4.666 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.947e-05/11.22, allocations: 76.39 kB / 4.666 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003087/11.22, allocations: 1.928 MB / 4.668 GB, free: 144.9 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.01521/11.24, allocations: 10.48 MB / 4.679 GB, free: 136.6 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001887/11.24, allocations: 1.452 MB / 4.68 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/11.24, allocations: 0.9904 MB / 4.681 GB, free: 135.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008324/11.24, allocations: 1.183 MB / 4.682 GB, free: 134 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/11.24, allocations: 54.62 kB / 4.682 GB, free: 134 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 3.717e-06/11.24, allocations: 0 / 4.682 GB, free: 134 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.009839/11.25, allocations: 5.321 MB / 4.687 GB, free: 130.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/11.25, allocations: 346.2 kB / 4.688 GB, free: 130.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005388/11.26, allocations: 3.053 MB / 4.691 GB, free: 127.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000367/11.26, allocations: 57.7 kB / 4.691 GB, free: 127.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001238/11.26, allocations: 1.465 MB / 4.692 GB, free: 126.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/11.26, allocations: 463.5 kB / 4.693 GB, free: 125.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.323e-05/11.26, allocations: 30.56 kB / 4.693 GB, free: 125.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001205/11.26, allocations: 369.9 kB / 4.693 GB, free: 125.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/11.26, allocations: 1.039 MB / 4.694 GB, free: 124.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/11.26, allocations: 1.48 MB / 4.695 GB, free: 122.8 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.00658/11.27, allocations: 4.182 MB / 4.699 GB, free: 118.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/11.27, allocations: 4 kB / 4.699 GB, free: 118.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004728/11.27, allocations: 3.272 MB / 4.703 GB, free: 115.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007433/11.27, allocations: 2.939 MB / 4.706 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/11.27, allocations: 14.25 kB / 4.706 GB, free: 111.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/11.27, allocations: 149.6 kB / 4.706 GB, free: 111.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000961/11.28, allocations: 262.6 kB / 4.706 GB, free: 111.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007581/11.28, allocations: 1.284 MB / 4.707 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/11.28, allocations: 215 kB / 4.707 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002124/11.28, allocations: 87.97 kB / 4.708 GB, free: 109.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/11.28, allocations: 4 kB / 4.708 GB, free: 109.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003917/11.28, allocations: 3.35 MB / 4.711 GB, free: 106.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/11.28, allocations: 8 kB / 4.711 GB, free: 106.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004151/11.28, allocations: 155.8 kB / 4.711 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009267/11.28, allocations: 259.6 kB / 4.711 GB, free: 106.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006945/11.29, allocations: 1.294 MB / 4.712 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/11.29, allocations: 209.7 kB / 4.713 GB, free: 104.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/11.29, allocations: 83.97 kB / 4.713 GB, free: 104.5 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.0005785/11.29, allocations: 382.1 kB / 4.713 GB, free: 104 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006926/11.29, allocations: 331.9 kB / 4.713 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/11.29, allocations: 2.476 MB / 4.716 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/11.29, allocations: 15.95 kB / 4.716 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/11.29, allocations: 0 / 4.716 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002276/11.3, allocations: 2.217 MB / 4.718 GB, free: 98.88 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009642/11.31, allocations: 5.921 MB / 4.724 GB, free: 92.84 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/11.31, allocations: 7.953 kB / 4.724 GB, free: 92.83 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/11.31, allocations: 253.7 kB / 4.724 GB, free: 92.59 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.508e-05/11.31, allocations: 12 kB / 4.724 GB, free: 92.57 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/11.31, allocations: 43.98 kB / 4.724 GB, free: 92.53 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.265e-05/11.31, allocations: 18.33 kB / 4.724 GB, free: 92.52 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/11.31, allocations: 11.94 kB / 4.724 GB, free: 92.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00486/11.31, allocations: 4.555 MB / 4.729 GB, free: 87.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002201/11.31, allocations: 0.7155 MB / 4.729 GB, free: 86.96 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006534/11.31, allocations: 43.25 kB / 4.729 GB, free: 86.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001775/11.32, allocations: 164.1 kB / 4.729 GB, free: 86.77 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/11.32, allocations: 169.5 kB / 4.73 GB, free: 86.61 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/11.32, allocations: 59.91 kB / 4.73 GB, free: 86.56 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003788/11.32, allocations: 2.358 MB / 4.732 GB, free: 84.21 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/11.32, allocations: 3.25 kB / 4.732 GB, free: 84.21 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005544/11.33, allocations: 1.506 MB / 4.733 GB, free: 82.71 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.009003/11.34, allocations: 9.061 MB / 4.742 GB, free: 73.86 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006077/11.34, allocations: 5.605 MB / 4.748 GB, free: 67.97 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/11.34, allocations: 11.88 kB / 4.748 GB, free: 67.96 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001942/11.34, allocations: 1.867 MB / 4.75 GB, free: 66.02 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008009/11.35, allocations: 1.6 MB / 4.751 GB, free: 64.55 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/11.36, allocations: 6.076 MB / 4.757 GB, free: 58.48 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/11.37, allocations: 2.161 MB / 4.759 GB, free: 56.29 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004345/11.37, allocations: 1.056 MB / 4.76 GB, free: 55.29 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00139/11.37, allocations: 1.3 MB / 4.762 GB, free: 53.98 MB / 1.167 GB Notification: Performance of SimCode: time 1.092e-06/11.37, allocations: 0 / 4.762 GB, free: 53.98 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.072/12.44, allocations: 136.5 MB / 4.895 GB, free: 176.9 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001566/12.44, allocations: 253.2 kB / 4.895 GB, free: 176.6 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.24/19.68, allocations: 0 / 4.895 GB, free: 176.6 MB / 1.198 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