Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.405/2.405, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001284/0.001284, allocations: 188.9 kB / 496.1 MB, free: 12.87 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.577/1.577, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.0008699/0.0008696, allocations: 99.5 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.597e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3243, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.868/6.193, allocations: 2.185 GB / 3.404 GB, free: 79.99 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/6.193, allocations: 91.95 kB / 3.404 GB, free: 79.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.089/11.28, allocations: 1.248 GB / 4.652 GB, free: 142.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.735e-06/11.28, allocations: 0 / 4.652 GB, free: 142.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007012/11.28, allocations: 82.31 kB / 4.652 GB, free: 142.7 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.01071/11.29, allocations: 3.475 MB / 4.655 GB, free: 140.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.534e-05/11.29, allocations: 10.22 kB / 4.655 GB, free: 140.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001648/11.29, allocations: 265.5 kB / 4.656 GB, free: 139.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004164/11.3, allocations: 0.5213 MB / 4.656 GB, free: 139.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009543/11.31, allocations: 3.298 MB / 4.659 GB, free: 137.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/11.31, allocations: 151.2 kB / 4.659 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008423/11.31, allocations: 205.6 kB / 4.66 GB, free: 137.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006345/11.32, allocations: 2.365 MB / 4.662 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.408e-05/11.32, allocations: 15.67 kB / 4.662 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004763/11.32, allocations: 83.88 kB / 4.662 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.173e-05/11.32, allocations: 64.33 kB / 4.662 GB, free: 135.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003853/11.32, allocations: 1.827 MB / 4.664 GB, free: 135 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.01667/11.34, allocations: 9.817 MB / 4.673 GB, free: 127.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001973/11.34, allocations: 1.333 MB / 4.675 GB, free: 126.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/11.34, allocations: 0.9249 MB / 4.676 GB, free: 125.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008316/11.34, allocations: 1.177 MB / 4.677 GB, free: 123.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/11.34, allocations: 50.12 kB / 4.677 GB, free: 123.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=113): time 3.818e-06/11.34, allocations: 0 / 4.677 GB, free: 123.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=115): time 0.008971/11.35, allocations: 4.847 MB / 4.682 GB, free: 118.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/11.35, allocations: 292.4 kB / 4.682 GB, free: 118.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006559/11.36, allocations: 2.974 MB / 4.685 GB, free: 115.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003391/11.36, allocations: 53.7 kB / 4.685 GB, free: 115.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00154/11.36, allocations: 1.409 MB / 4.686 GB, free: 113.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004614/11.36, allocations: 395 kB / 4.687 GB, free: 113.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/11.36, allocations: 28 kB / 4.687 GB, free: 113.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001326/11.36, allocations: 365.8 kB / 4.687 GB, free: 113.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/11.36, allocations: 0.9912 MB / 4.688 GB, free: 112.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/11.36, allocations: 1.399 MB / 4.689 GB, free: 110.6 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.005234/11.37, allocations: 2.94 MB / 4.692 GB, free: 107.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/11.37, allocations: 3.953 kB / 4.692 GB, free: 107.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004386/11.37, allocations: 3.029 MB / 4.695 GB, free: 104.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006829/11.37, allocations: 2.919 MB / 4.698 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/11.37, allocations: 8 kB / 4.698 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/11.37, allocations: 12 kB / 4.698 GB, free: 101.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/11.37, allocations: 260.4 kB / 4.698 GB, free: 101 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003439/11.37, allocations: 0.6152 MB / 4.699 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002846/11.38, allocations: 186.3 kB / 4.699 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/11.38, allocations: 79.97 kB / 4.699 GB, free: 100.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/11.38, allocations: 4 kB / 4.699 GB, free: 100.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003497/11.38, allocations: 3.124 MB / 4.702 GB, free: 96.89 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/11.38, allocations: 4 kB / 4.702 GB, free: 96.88 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/11.38, allocations: 12 kB / 4.702 GB, free: 96.87 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009225/11.38, allocations: 249.3 kB / 4.702 GB, free: 96.63 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.259e-05/11.38, allocations: 23.86 kB / 4.702 GB, free: 96.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/11.39, allocations: 178.2 kB / 4.703 GB, free: 96.44 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/11.39, allocations: 75.97 kB / 4.703 GB, free: 96.37 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.0005272/11.39, allocations: 381.4 kB / 4.703 GB, free: 95.95 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000879/11.39, allocations: 308.2 kB / 4.703 GB, free: 95.65 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003707/11.39, allocations: 2.313 MB / 4.706 GB, free: 93.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/11.39, allocations: 8 kB / 4.706 GB, free: 93.29 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/11.39, allocations: 3.938 kB / 4.706 GB, free: 93.29 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002173/11.39, allocations: 2.089 MB / 4.708 GB, free: 91.12 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/11.4, allocations: 5.56 MB / 4.713 GB, free: 85.43 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/11.4, allocations: 8 kB / 4.713 GB, free: 85.42 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009892/11.41, allocations: 225.7 kB / 4.713 GB, free: 85.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.402e-05/11.41, allocations: 8 kB / 4.713 GB, free: 85.19 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/11.41, allocations: 39.98 kB / 4.713 GB, free: 85.15 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002558/11.41, allocations: 0.6192 MB / 4.714 GB, free: 84.51 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.373e-06/11.41, allocations: 11.94 kB / 4.714 GB, free: 84.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005174/11.41, allocations: 4.326 MB / 4.718 GB, free: 79.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002438/11.41, allocations: 0.6882 MB / 4.719 GB, free: 79.19 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/11.41, allocations: 36 kB / 4.719 GB, free: 79.16 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002743/11.42, allocations: 145.2 kB / 4.719 GB, free: 79.02 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000348/11.42, allocations: 156.6 kB / 4.719 GB, free: 78.88 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/11.42, allocations: 57.22 kB / 4.719 GB, free: 78.82 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005183/11.42, allocations: 2.307 MB / 4.722 GB, free: 76.52 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.653e-06/11.42, allocations: 0 / 4.722 GB, free: 76.52 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006028/11.43, allocations: 1.466 MB / 4.723 GB, free: 75.06 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.008887/11.44, allocations: 8.916 MB / 4.732 GB, free: 66.36 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006409/11.44, allocations: 5.376 MB / 4.737 GB, free: 60.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/11.44, allocations: 4 kB / 4.737 GB, free: 60.69 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/11.45, allocations: 1.82 MB / 4.739 GB, free: 58.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/11.46, allocations: 1.581 MB / 4.74 GB, free: 57.35 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/11.47, allocations: 5.651 MB / 4.746 GB, free: 51.76 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00172/11.47, allocations: 2.081 MB / 4.748 GB, free: 49.66 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004333/11.48, allocations: 1.032 MB / 4.749 GB, free: 48.68 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/11.48, allocations: 1.229 MB / 4.75 GB, free: 47.45 MB / 1.167 GB Notification: Performance of SimCode: time 1.302e-06/11.48, allocations: 0 / 4.75 GB, free: 47.45 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.048/12.53, allocations: 132 MB / 4.879 GB, free: 177.6 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001861/12.53, allocations: 238 kB / 4.879 GB, free: 177.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.23/19.76, allocations: 0 / 4.879 GB, free: 177.3 MB / 1.198 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat does not exist to compare? outputFormat=mat