Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001156/0.001156, allocations: 176.8 kB / 487.4 MB, free: 5.07 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.715/1.715, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 102.1 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.187e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2877, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.208/1.496, allocations: 423.8 MB / 1.62 GB, free: 14.67 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/1.496, allocations: 107.4 kB / 1.62 GB, free: 14.61 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 1.365/2.861, allocations: 367.2 MB / 1.979 GB, free: 230.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.753e-06/2.861, allocations: 0 / 1.979 GB, free: 230.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001786/2.862, allocations: 27.98 kB / 1.979 GB, free: 230.7 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.003256/2.865, allocations: 1.439 MB / 1.98 GB, free: 229.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/2.865, allocations: 16.02 kB / 1.98 GB, free: 229.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005115/2.865, allocations: 134.5 kB / 1.98 GB, free: 229 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/2.867, allocations: 1.16 MB / 1.981 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.626e-05/2.867, allocations: 23.98 kB / 1.981 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.723e-05/2.868, allocations: 44 kB / 1.981 GB, free: 227.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008345/2.868, allocations: 0.5337 MB / 1.982 GB, free: 227.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009761/2.869, allocations: 0.6862 MB / 1.983 GB, free: 226.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/2.869, allocations: 3.938 kB / 1.983 GB, free: 226.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/2.869, allocations: 4 kB / 1.983 GB, free: 226.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/2.869, allocations: 23.92 kB / 1.983 GB, free: 226.5 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.003118/2.873, allocations: 2.945 MB / 1.985 GB, free: 223.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005021/2.873, allocations: 423.3 kB / 1.986 GB, free: 223 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002829/2.873, allocations: 273 kB / 1.986 GB, free: 222.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/2.874, allocations: 0.7716 MB / 1.987 GB, free: 221.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/2.874, allocations: 34.84 kB / 1.987 GB, free: 221.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 2.214e-06/2.874, allocations: 0 / 1.987 GB, free: 221.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001083/2.875, allocations: 0.6472 MB / 1.988 GB, free: 221.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/2.875, allocations: 144.8 kB / 1.988 GB, free: 220.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008344/2.876, allocations: 0.798 MB / 1.988 GB, free: 220.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/2.876, allocations: 29.7 kB / 1.988 GB, free: 220.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/2.876, allocations: 491.7 kB / 1.989 GB, free: 219.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/2.876, allocations: 118.2 kB / 1.989 GB, free: 219.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/2.876, allocations: 4 kB / 1.989 GB, free: 219.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.182e-05/2.877, allocations: 326 kB / 1.989 GB, free: 219.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/2.877, allocations: 300.9 kB / 1.99 GB, free: 218.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/2.877, allocations: 419.3 kB / 1.99 GB, free: 218.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/2.878, allocations: 384.1 kB / 1.99 GB, free: 218 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/2.878, allocations: 0 / 1.99 GB, free: 218 MB / 1.151 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001212/2.879, allocations: 0.871 MB / 1.991 GB, free: 217.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001982/2.879, allocations: 0.8782 MB / 1.992 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/2.879, allocations: 0 / 1.992 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/2.879, allocations: 4 kB / 1.992 GB, free: 216.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003264/2.88, allocations: 91.81 kB / 1.992 GB, free: 216.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/2.88, allocations: 11.94 kB / 1.992 GB, free: 216.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/2.88, allocations: 83.48 kB / 1.992 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.755e-05/2.88, allocations: 27.98 kB / 1.992 GB, free: 215.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/2.88, allocations: 4 kB / 1.992 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001199/2.882, allocations: 0.8313 MB / 1.993 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/2.882, allocations: 0 / 1.993 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.02e-06/2.882, allocations: 4 kB / 1.993 GB, free: 215.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/2.882, allocations: 92.05 kB / 1.993 GB, free: 215 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/2.882, allocations: 4 kB / 1.993 GB, free: 215 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000451/2.882, allocations: 71.64 kB / 1.993 GB, free: 214.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/2.882, allocations: 27.98 kB / 1.993 GB, free: 214.9 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.0001615/2.883, allocations: 203 kB / 1.994 GB, free: 214.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009818/2.884, allocations: 0.6612 MB / 1.994 GB, free: 214 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/2.884, allocations: 98.77 kB / 1.994 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/2.885, allocations: 0.7704 MB / 1.995 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/2.885, allocations: 7.984 kB / 1.995 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/2.885, allocations: 0 / 1.995 GB, free: 213.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009069/2.886, allocations: 0.8652 MB / 1.996 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/2.888, allocations: 1.864 MB / 1.998 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/2.888, allocations: 0 / 1.998 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00032/2.889, allocations: 72.16 kB / 1.998 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/2.889, allocations: 7.984 kB / 1.998 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/2.889, allocations: 8 kB / 1.998 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/2.889, allocations: 4 kB / 1.998 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.889, allocations: 4 kB / 1.998 GB, free: 210.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/2.89, allocations: 1.347 MB / 1.999 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/2.891, allocations: 283.7 kB / 1.999 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/2.891, allocations: 4 kB / 1.999 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004276/2.891, allocations: 43.98 kB / 1.999 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/2.891, allocations: 51.88 kB / 1.999 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/2.891, allocations: 23.98 kB / 1.999 GB, free: 208.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0006982/2.892, allocations: 0.6125 MB / 2 GB, free: 207.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/2.892, allocations: 4 kB / 2 GB, free: 207.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001666/2.894, allocations: 0.5845 MB / 2.001 GB, free: 207.1 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.002896/2.897, allocations: 3.048 MB / 2.004 GB, free: 204 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001533/2.898, allocations: 1.846 MB / 2.005 GB, free: 202 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/2.898, allocations: 0 / 2.005 GB, free: 202 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/2.899, allocations: 0.5058 MB / 2.006 GB, free: 201.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/2.9, allocations: 398.7 kB / 2.006 GB, free: 201 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/2.903, allocations: 1.75 MB / 2.008 GB, free: 199.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/2.904, allocations: 1.088 MB / 2.009 GB, free: 198.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009475/2.905, allocations: 290.3 kB / 2.009 GB, free: 197.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/2.905, allocations: 370 kB / 2.01 GB, free: 197.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/2.905, allocations: 0 / 2.01 GB, free: 197.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0548/2.96, allocations: 30.18 MB / 2.039 GB, free: 167.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/2.96, allocations: 210 kB / 2.039 GB, free: 167.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.076/6.036, allocations: 0.8438 kB / 2.039 GB, free: 167.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat does not exist to compare? outputFormat=mat