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.111/2.111, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.0009875/0.0009875, allocations: 189.5 kB / 498.1 MB, free: 5.766 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.278/1.278, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0008631/0.0008631, allocations: 98.78 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 15.28 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.238, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.935/4.173, allocations: 2.184 GB / 3.407 GB, free: 300.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/4.173, allocations: 105.1 kB / 3.407 GB, free: 300.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.765/7.938, allocations: 1.25 GB / 4.658 GB, free: 159 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.224e-06/7.938, allocations: 2.094 kB / 4.658 GB, free: 159 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004654/7.939, allocations: 82.94 kB / 4.658 GB, free: 159 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.009733/7.948, allocations: 4.15 MB / 4.662 GB, free: 157.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/7.949, allocations: 6.844 kB / 4.662 GB, free: 157.2 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009059/7.949, allocations: 273.1 kB / 4.662 GB, free: 157.1 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/7.952, allocations: 0.5029 MB / 4.663 GB, free: 156.9 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007171/7.959, allocations: 3.321 MB / 4.666 GB, free: 156.5 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/7.959, allocations: 151.6 kB / 4.666 GB, free: 156.5 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000593/7.96, allocations: 205.9 kB / 4.666 GB, free: 156.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004656/7.965, allocations: 2.423 MB / 4.669 GB, free: 156.3 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.04e-05/7.965, allocations: 3.25 kB / 4.669 GB, free: 156.3 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002806/7.965, allocations: 83.64 kB / 4.669 GB, free: 156.3 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-05/7.965, allocations: 68.64 kB / 4.669 GB, free: 156.3 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/7.968, allocations: 1.902 MB / 4.671 GB, free: 156.3 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.01562/7.984, allocations: 9.842 MB / 4.68 GB, free: 153.2 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/7.986, allocations: 1.362 MB / 4.682 GB, free: 153.2 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009149/7.987, allocations: 1.178 MB / 4.683 GB, free: 151.9 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.877e-05/7.987, allocations: 48.16 kB / 4.683 GB, free: 151.9 MB / 1.182 GB Notification: Performance of pre-optimization done (n=113): time 3.727e-06/7.987, allocations: 0 / 4.683 GB, free: 151.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=115): time 0.01078/7.998, allocations: 6.208 MB / 4.689 GB, free: 149.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.716e-05/7.998, allocations: 289.8 kB / 4.689 GB, free: 149.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00626/8.005, allocations: 3.01 MB / 4.692 GB, free: 149.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0003039/8.005, allocations: 53.55 kB / 4.692 GB, free: 149.3 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001359/8.006, allocations: 1.408 MB / 4.694 GB, free: 148.9 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/8.007, allocations: 402.7 kB / 4.694 GB, free: 148.6 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/8.007, allocations: 22.94 kB / 4.694 GB, free: 148.6 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001059/8.007, allocations: 367.8 kB / 4.694 GB, free: 148.3 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/8.008, allocations: 1.018 MB / 4.695 GB, free: 148.3 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/8.01, allocations: 1.436 MB / 4.697 GB, free: 147.9 MB / 1.182 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.004731/8.014, allocations: 2.958 MB / 4.7 GB, free: 147.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/8.014, allocations: 0 / 4.7 GB, free: 147.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004142/8.019, allocations: 3.094 MB / 4.703 GB, free: 146.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006135/8.019, allocations: 2.909 MB / 4.706 GB, free: 143.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/8.019, allocations: 10.53 kB / 4.706 GB, free: 143.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.8e-05/8.019, allocations: 11.72 kB / 4.706 GB, free: 143.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/8.02, allocations: 255.3 kB / 4.706 GB, free: 143.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003245/8.021, allocations: 0.6177 MB / 4.706 GB, free: 142.9 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002749/8.023, allocations: 189.7 kB / 4.707 GB, free: 142.9 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/8.024, allocations: 76.84 kB / 4.707 GB, free: 142.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/8.024, allocations: 10.09 kB / 4.707 GB, free: 142.9 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003479/8.027, allocations: 3.185 MB / 4.71 GB, free: 142.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/8.027, allocations: 3.875 kB / 4.71 GB, free: 142.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/8.027, allocations: 14.31 kB / 4.71 GB, free: 142.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008949/8.028, allocations: 246.4 kB / 4.71 GB, free: 142.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/8.028, allocations: 15.94 kB / 4.71 GB, free: 142.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/8.031, allocations: 178.8 kB / 4.71 GB, free: 142.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/8.031, allocations: 81.22 kB / 4.71 GB, free: 142.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: 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 () * Number of clocked 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.001973/8.033, allocations: 1.092 MB / 4.711 GB, free: 142.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009016/8.034, allocations: 310.5 kB / 4.712 GB, free: 142 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003462/8.037, allocations: 2.372 MB / 4.714 GB, free: 141.7 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/8.037, allocations: 13.16 kB / 4.714 GB, free: 141.7 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/8.037, allocations: 3.75 kB / 4.714 GB, free: 141.7 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002263/8.04, allocations: 2.146 MB / 4.716 GB, free: 141.2 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009472/8.049, allocations: 5.613 MB / 4.722 GB, free: 140.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/8.049, allocations: 7.156 kB / 4.722 GB, free: 140.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009785/8.05, allocations: 220.7 kB / 4.722 GB, free: 140.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.759e-05/8.05, allocations: 10.75 kB / 4.722 GB, free: 140.5 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.99e-05/8.05, allocations: 41.81 kB / 4.722 GB, free: 140.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002208/8.05, allocations: 0.6153 MB / 4.722 GB, free: 139.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/8.05, allocations: 8.438 kB / 4.722 GB, free: 139.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004691/8.055, allocations: 4.429 MB / 4.727 GB, free: 138.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/8.057, allocations: 0.6819 MB / 4.727 GB, free: 138.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009024/8.058, allocations: 38.22 kB / 4.727 GB, free: 138.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00223/8.06, allocations: 148.2 kB / 4.728 GB, free: 138.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/8.061, allocations: 159.4 kB / 4.728 GB, free: 138.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/8.061, allocations: 57.73 kB / 4.728 GB, free: 138.1 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.004422/8.065, allocations: 2.342 MB / 4.73 GB, free: 138 MB / 1.182 GB Notification: Performance of sort global known variables: time 3.4e-07/8.065, allocations: 0 / 4.73 GB, free: 138 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005735/8.071, allocations: 1.459 MB / 4.732 GB, free: 137.9 MB / 1.182 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) * Number of clocked states: 0 () * 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.009152/8.08, allocations: 8.969 MB / 4.74 GB, free: 133.9 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005595/8.086, allocations: 5.351 MB / 4.746 GB, free: 132.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/8.086, allocations: 2.625 kB / 4.746 GB, free: 132.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.002115/8.088, allocations: 1.847 MB / 4.747 GB, free: 132 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008033/8.096, allocations: 1.587 MB / 4.749 GB, free: 132 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/8.114, allocations: 12.23 MB / 4.761 GB, free: 124.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002252/8.116, allocations: 2.07 MB / 4.763 GB, free: 123.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003208/8.119, allocations: 0.6422 MB / 4.763 GB, free: 123.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/8.121, allocations: 1.269 MB / 4.765 GB, free: 123.9 MB / 1.182 GB Notification: Performance of SimCode: time 8.21e-07/8.121, allocations: 0 / 4.765 GB, free: 123.9 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1593/8.28, allocations: 121.4 MB / 4.883 GB, free: 114.9 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001671/8.28, allocations: 259.7 kB / 4.883 GB, free: 114.6 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.804/14.08, allocations: 0 / 4.883 GB, free: 114.6 MB / 1.182 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