Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",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.407/2.407, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001092/0.001092, allocations: 176.1 kB / 492.3 MB, free: 0.625 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.581/1.581, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009726/0.0009726, allocations: 87.95 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.073e-05/5.098e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3944, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.231/6.626, allocations: 2.184 GB / 3.397 GB, free: 117.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/6.626, allocations: 98.73 kB / 3.397 GB, free: 117.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 5.318/11.94, allocations: 1.248 GB / 4.645 GB, free: 161.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.747e-06/11.94, allocations: 0 / 4.645 GB, free: 161.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007649/11.95, allocations: 81.86 kB / 4.645 GB, free: 161.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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01235/11.96, allocations: 3.477 MB / 4.648 GB, free: 159.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.237e-05/11.96, allocations: 9.625 kB / 4.648 GB, free: 159.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001388/11.96, allocations: 271.3 kB / 4.648 GB, free: 159.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003542/11.96, allocations: 0.5058 MB / 4.649 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/11.97, allocations: 3.304 MB / 4.652 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/11.97, allocations: 154.4 kB / 4.652 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00106/11.97, allocations: 209.5 kB / 4.652 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006877/11.98, allocations: 2.358 MB / 4.655 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.199e-05/11.98, allocations: 3.938 kB / 4.655 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004525/11.98, allocations: 87.05 kB / 4.655 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.438e-05/11.98, allocations: 79.03 kB / 4.655 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003944/11.99, allocations: 1.824 MB / 4.657 GB, free: 154.3 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.01697/12, allocations: 9.824 MB / 4.666 GB, free: 146.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/12, allocations: 1.322 MB / 4.668 GB, free: 145.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/12.01, allocations: 0.9293 MB / 4.668 GB, free: 145.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008474/12.01, allocations: 1.183 MB / 4.67 GB, free: 144 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/12.01, allocations: 49.44 kB / 4.67 GB, free: 144 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 3.546e-06/12.01, allocations: 0 / 4.67 GB, free: 144 MB / 1.167 GB Notification: Performance of matching and sorting (n=115): time 0.009555/12.02, allocations: 4.844 MB / 4.674 GB, free: 140.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/12.02, allocations: 291.4 kB / 4.675 GB, free: 140.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007452/12.02, allocations: 2.975 MB / 4.678 GB, free: 139.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005272/12.02, allocations: 60.8 kB / 4.678 GB, free: 139.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/12.03, allocations: 1.416 MB / 4.679 GB, free: 137.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006325/12.03, allocations: 387.5 kB / 4.679 GB, free: 137.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/12.03, allocations: 25.44 kB / 4.679 GB, free: 137.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001779/12.03, allocations: 365.2 kB / 4.68 GB, free: 137.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/12.03, allocations: 0.9897 MB / 4.681 GB, free: 136.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/12.03, allocations: 1.406 MB / 4.682 GB, free: 135.4 MB / 1.167 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.006546/12.04, allocations: 2.934 MB / 4.685 GB, free: 132.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/12.04, allocations: 4 kB / 4.685 GB, free: 132.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005922/12.04, allocations: 3.036 MB / 4.688 GB, free: 129.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0011/12.04, allocations: 2.91 MB / 4.691 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/12.04, allocations: 8 kB / 4.691 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.896e-05/12.04, allocations: 15.98 kB / 4.691 GB, free: 126.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/12.05, allocations: 257.6 kB / 4.691 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005164/12.05, allocations: 0.6199 MB / 4.692 GB, free: 125.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/12.05, allocations: 183.2 kB / 4.692 GB, free: 125 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/12.05, allocations: 79.97 kB / 4.692 GB, free: 124.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/12.05, allocations: 4 kB / 4.692 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004306/12.06, allocations: 3.122 MB / 4.695 GB, free: 121.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/12.06, allocations: 8 kB / 4.695 GB, free: 121.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/12.06, allocations: 15.98 kB / 4.695 GB, free: 121.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/12.06, allocations: 243.6 kB / 4.695 GB, free: 121.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/12.06, allocations: 18.91 kB / 4.695 GB, free: 121.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/12.06, allocations: 185.8 kB / 4.695 GB, free: 121.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/12.06, allocations: 91.66 kB / 4.696 GB, free: 121.2 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: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006247/12.06, allocations: 369.4 kB / 4.696 GB, free: 120.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/12.06, allocations: 308.2 kB / 4.696 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/12.07, allocations: 2.314 MB / 4.698 GB, free: 118.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/12.07, allocations: 12 kB / 4.698 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/12.07, allocations: 0 / 4.698 GB, free: 118.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00232/12.07, allocations: 2.085 MB / 4.7 GB, free: 116 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/12.08, allocations: 5.562 MB / 4.706 GB, free: 110.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/12.08, allocations: 4 kB / 4.706 GB, free: 110.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/12.08, allocations: 223.7 kB / 4.706 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.443e-05/12.08, allocations: 14.44 kB / 4.706 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/12.08, allocations: 41.62 kB / 4.706 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002611/12.08, allocations: 0.6093 MB / 4.707 GB, free: 109.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/12.08, allocations: 21.8 kB / 4.707 GB, free: 109.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004779/12.08, allocations: 4.327 MB / 4.711 GB, free: 104.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/12.09, allocations: 0.6824 MB / 4.712 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/12.09, allocations: 39.95 kB / 4.712 GB, free: 104 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002346/12.09, allocations: 153.6 kB / 4.712 GB, free: 103.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/12.09, allocations: 155.1 kB / 4.712 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001422/12.09, allocations: 59.33 kB / 4.712 GB, free: 103.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004855/12.1, allocations: 2.306 MB / 4.714 GB, free: 101.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.61e-07/12.1, allocations: 0 / 4.714 GB, free: 101.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006719/12.1, allocations: 1.462 MB / 4.716 GB, free: 99.92 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01045/12.11, allocations: 8.904 MB / 4.724 GB, free: 91.24 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006039/12.12, allocations: 5.377 MB / 4.73 GB, free: 85.58 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/12.12, allocations: 0 / 4.73 GB, free: 85.58 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001998/12.12, allocations: 1.821 MB / 4.731 GB, free: 83.69 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008761/12.13, allocations: 1.573 MB / 4.733 GB, free: 82.25 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/12.15, allocations: 5.656 MB / 4.739 GB, free: 76.66 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/12.15, allocations: 2.089 MB / 4.741 GB, free: 74.59 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005393/12.15, allocations: 1.041 MB / 4.742 GB, free: 73.64 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/12.16, allocations: 1.222 MB / 4.743 GB, free: 72.42 MB / 1.167 GB Notification: Performance of SimCode: time 1.232e-06/12.16, allocations: 0 / 4.743 GB, free: 72.42 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.119/13.27, allocations: 132 MB / 4.872 GB, free: 195 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002201/13.27, allocations: 235.8 kB / 4.872 GB, free: 194.7 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/20.79, allocations: 0 / 4.872 GB, free: 194.7 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat does not exist to compare? outputFormat=mat