Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",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.252/2.252, allocations: 390.5 MB / 398 MB, free: 10.94 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.001259/0.001259, allocations: 176.9 kB / 491.2 MB, free: 1.582 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.732/1.732, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.001065/0.001065, allocations: 83.61 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.94e-05/1.942e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3242, allocations: 143 MB / 1.212 GB, free: 39.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.272/1.596, allocations: 424.6 MB / 1.627 GB, free: 5.93 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/1.596, allocations: 105.6 kB / 1.627 GB, free: 5.871 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.52/3.116, allocations: 367.2 MB / 1.986 GB, free: 219 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.864e-06/3.116, allocations: 0 / 1.986 GB, free: 219 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001577/3.117, allocations: 27.94 kB / 1.986 GB, free: 219 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003135/3.12, allocations: 1.434 MB / 1.987 GB, free: 217.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/3.12, allocations: 8.031 kB / 1.987 GB, free: 217.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006183/3.12, allocations: 130.4 kB / 1.987 GB, free: 217.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/3.123, allocations: 1.179 MB / 1.988 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/3.123, allocations: 20 kB / 1.988 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/3.123, allocations: 40 kB / 1.989 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001031/3.124, allocations: 0.5298 MB / 1.989 GB, free: 215.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/3.126, allocations: 0.6861 MB / 1.99 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/3.126, allocations: 0 / 1.99 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/3.126, allocations: 4 kB / 1.99 GB, free: 214.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/3.126, allocations: 20 kB / 1.99 GB, free: 214.8 MB / 1.151 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.004004/3.13, allocations: 2.952 MB / 1.993 GB, free: 211.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/3.13, allocations: 416.6 kB / 1.993 GB, free: 211.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/3.131, allocations: 273 kB / 1.993 GB, free: 211 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006093/3.131, allocations: 0.7716 MB / 1.994 GB, free: 210.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/3.131, allocations: 42.84 kB / 1.994 GB, free: 210 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.455e-06/3.131, allocations: 3.938 kB / 1.994 GB, free: 210 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.00132/3.133, allocations: 0.6307 MB / 1.995 GB, free: 209.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/3.133, allocations: 140.8 kB / 1.995 GB, free: 209.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/3.134, allocations: 0.8019 MB / 1.996 GB, free: 208.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/3.134, allocations: 29.7 kB / 1.996 GB, free: 208.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/3.134, allocations: 487.7 kB / 1.996 GB, free: 207.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.763e-05/3.134, allocations: 118.2 kB / 1.996 GB, free: 207.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/3.134, allocations: 4 kB / 1.996 GB, free: 207.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.55e-05/3.134, allocations: 326 kB / 1.997 GB, free: 207.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/3.135, allocations: 312.9 kB / 1.997 GB, free: 207.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/3.135, allocations: 407.2 kB / 1.997 GB, free: 206.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/3.136, allocations: 384.2 kB / 1.998 GB, free: 206.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/3.136, allocations: 4 kB / 1.998 GB, free: 206.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0014/3.137, allocations: 0.8671 MB / 1.998 GB, free: 205.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002172/3.137, allocations: 0.8794 MB / 1.999 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/3.137, allocations: 4 kB / 1.999 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/3.137, allocations: 12 kB / 1.999 GB, free: 204.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003538/3.138, allocations: 83.89 kB / 1.999 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/3.138, allocations: 7.938 kB / 1.999 GB, free: 204.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/3.139, allocations: 75.48 kB / 1.999 GB, free: 204.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.423e-05/3.139, allocations: 35.94 kB / 1.999 GB, free: 204.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/3.139, allocations: 4 kB / 1.999 GB, free: 204.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00131/3.14, allocations: 0.8354 MB / 2 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/3.14, allocations: 4.031 kB / 2 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/3.14, allocations: 4 kB / 2 GB, free: 203.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/3.14, allocations: 83.89 kB / 2 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/3.14, allocations: 4 kB / 2 GB, free: 203.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006129/3.141, allocations: 75.48 kB / 2 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/3.141, allocations: 31.98 kB / 2 GB, free: 203.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001704/3.141, allocations: 206 kB / 2.001 GB, free: 203 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0011/3.142, allocations: 0.6583 MB / 2.001 GB, free: 202.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/3.142, allocations: 90.88 kB / 2.001 GB, free: 202.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/3.144, allocations: 0.7705 MB / 2.002 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/3.144, allocations: 4 kB / 2.002 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/3.144, allocations: 0 / 2.002 GB, free: 201.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001008/3.145, allocations: 0.8616 MB / 2.003 GB, free: 200.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/3.148, allocations: 1.875 MB / 2.005 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/3.148, allocations: 4 kB / 2.005 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/3.148, allocations: 63.91 kB / 2.005 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/3.148, allocations: 7.938 kB / 2.005 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/3.148, allocations: 8 kB / 2.005 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/3.148, allocations: 8.062 kB / 2.005 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/3.148, allocations: 11.92 kB / 2.005 GB, free: 198.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/3.15, allocations: 1.339 MB / 2.006 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003766/3.15, allocations: 279.8 kB / 2.007 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/3.15, allocations: 12.02 kB / 2.007 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/3.151, allocations: 43.95 kB / 2.007 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/3.151, allocations: 51.89 kB / 2.007 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/3.151, allocations: 19.98 kB / 2.007 GB, free: 196.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007526/3.152, allocations: 0.6204 MB / 2.007 GB, free: 196 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/3.152, allocations: 0 / 2.007 GB, free: 196 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001713/3.153, allocations: 0.5844 MB / 2.008 GB, free: 195.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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.003154/3.157, allocations: 3.041 MB / 2.011 GB, free: 192.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001608/3.158, allocations: 1.838 MB / 2.013 GB, free: 190.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/3.158, allocations: 0 / 2.013 GB, free: 190.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004376/3.159, allocations: 0.5188 MB / 2.013 GB, free: 189.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/3.16, allocations: 405.9 kB / 2.013 GB, free: 189.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/3.164, allocations: 1.736 MB / 2.015 GB, free: 187.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005283/3.164, allocations: 1.096 MB / 2.016 GB, free: 186.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001025/3.165, allocations: 290.3 kB / 2.017 GB, free: 186.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/3.166, allocations: 362.1 kB / 2.017 GB, free: 185.8 MB / 1.151 GB Notification: Performance of SimCode: time 9.42e-07/3.166, allocations: 0 / 2.017 GB, free: 185.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06215/3.228, allocations: 30.19 MB / 2.046 GB, free: 155.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/3.228, allocations: 205.4 kB / 2.047 GB, free: 155.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.188/6.416, allocations: 4.562 kB / 2.047 GB, free: 155.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat does not exist to compare? outputFormat=mat