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.133/2.133, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001175/0.001175, allocations: 183.3 kB / 498.1 MB, free: 5.746 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.342/1.342, allocations: 223.2 MB / 0.7948 GB, free: 17.98 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.0009186/0.0009187, allocations: 106.5 kB / 0.9346 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003642, allocations: 10.19 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2316, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8512/1.083, allocations: 424.5 MB / 1.637 GB, free: 3.441 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/1.083, allocations: 107.9 kB / 1.638 GB, free: 3.379 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.18/2.263, allocations: 370.1 MB / 1.999 GB, free: 335.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.723e-06/2.263, allocations: 0 / 1.999 GB, free: 335.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001394/2.263, allocations: 29.53 kB / 1.999 GB, free: 335.8 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003298/2.267, allocations: 1.65 MB / 2.001 GB, free: 334.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/2.267, allocations: 10.09 kB / 2.001 GB, free: 334.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002376/2.267, allocations: 113.3 kB / 2.001 GB, free: 334.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004017/2.267, allocations: 130.6 kB / 2.001 GB, free: 334.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/2.27, allocations: 1.183 MB / 2.002 GB, free: 333.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/2.27, allocations: 51.97 kB / 2.002 GB, free: 333.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/2.27, allocations: 68.94 kB / 2.002 GB, free: 333.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/2.271, allocations: 0.794 MB / 2.003 GB, free: 332.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/2.271, allocations: 0 / 2.003 GB, free: 332.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/2.271, allocations: 27.77 kB / 2.003 GB, free: 332.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/2.271, allocations: 23.75 kB / 2.003 GB, free: 332.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009421/2.272, allocations: 0.616 MB / 2.004 GB, free: 332.6 MB / 1.167 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.003476/2.276, allocations: 3.116 MB / 2.007 GB, free: 330.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/2.276, allocations: 456.8 kB / 2.007 GB, free: 329.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000546/2.277, allocations: 0.7638 MB / 2.008 GB, free: 328.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/2.277, allocations: 38 kB / 2.008 GB, free: 328.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=37): time 1.723e-06/2.277, allocations: 0 / 2.008 GB, free: 328.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=37): time 0.001431/2.278, allocations: 1.245 MB / 2.009 GB, free: 327.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/2.278, allocations: 140.8 kB / 2.009 GB, free: 327.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/2.279, allocations: 0.98 MB / 2.01 GB, free: 326.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/2.279, allocations: 33.7 kB / 2.01 GB, free: 326.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/2.28, allocations: 482.7 kB / 2.011 GB, free: 325.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.108e-05/2.28, allocations: 128.8 kB / 2.011 GB, free: 325.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/2.28, allocations: 8 kB / 2.011 GB, free: 325.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/2.28, allocations: 322 kB / 2.011 GB, free: 325.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004115/2.28, allocations: 343.5 kB / 2.011 GB, free: 325 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/2.281, allocations: 439.6 kB / 2.012 GB, free: 324.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/2.281, allocations: 0.533 MB / 2.012 GB, free: 323.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/2.281, allocations: 0 / 2.012 GB, free: 323.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001192/2.282, allocations: 1.08 MB / 2.013 GB, free: 322.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002003/2.283, allocations: 0.8816 MB / 2.014 GB, free: 321.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/2.283, allocations: 6.844 kB / 2.014 GB, free: 321.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/2.283, allocations: 4 kB / 2.014 GB, free: 321.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/2.283, allocations: 91.88 kB / 2.014 GB, free: 321.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/2.283, allocations: 4 kB / 2.014 GB, free: 321.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/2.284, allocations: 104.5 kB / 2.014 GB, free: 321.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.579e-05/2.284, allocations: 27.98 kB / 2.014 GB, free: 321.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/2.284, allocations: 9.828 kB / 2.014 GB, free: 321.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001178/2.285, allocations: 1.071 MB / 2.016 GB, free: 320.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/2.285, allocations: 7.156 kB / 2.016 GB, free: 320.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-06/2.285, allocations: 4 kB / 2.016 GB, free: 320.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/2.285, allocations: 87.83 kB / 2.016 GB, free: 320.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/2.285, allocations: 4 kB / 2.016 GB, free: 320.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/2.286, allocations: 90.42 kB / 2.016 GB, free: 320.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/2.286, allocations: 27.98 kB / 2.016 GB, free: 320.3 MB / 1.167 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 () * Number of clocked 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.0004118/2.286, allocations: 485.2 kB / 2.016 GB, free: 319.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/2.287, allocations: 107.5 kB / 2.016 GB, free: 319.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/2.288, allocations: 0.9059 MB / 2.017 GB, free: 318.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/2.288, allocations: 4 kB / 2.017 GB, free: 318.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/2.288, allocations: 0 / 2.017 GB, free: 318.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008673/2.289, allocations: 0.9937 MB / 2.018 GB, free: 317.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/2.291, allocations: 2.12 MB / 2.02 GB, free: 315.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/2.291, allocations: 3.312 kB / 2.02 GB, free: 315.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/2.292, allocations: 67.91 kB / 2.02 GB, free: 315.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/2.292, allocations: 6.938 kB / 2.02 GB, free: 315.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/2.292, allocations: 15.98 kB / 2.02 GB, free: 315.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/2.292, allocations: 7.938 kB / 2.02 GB, free: 315.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/2.292, allocations: 4 kB / 2.02 GB, free: 315.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001468/2.293, allocations: 1.521 MB / 2.022 GB, free: 313.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/2.294, allocations: 294.6 kB / 2.022 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/2.294, allocations: 15.98 kB / 2.022 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004779/2.294, allocations: 50.77 kB / 2.022 GB, free: 313.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/2.294, allocations: 51.94 kB / 2.022 GB, free: 313.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/2.294, allocations: 20 kB / 2.022 GB, free: 313.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008046/2.295, allocations: 0.7828 MB / 2.023 GB, free: 312.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/2.295, allocations: 0 / 2.023 GB, free: 312.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001378/2.297, allocations: 0.5878 MB / 2.024 GB, free: 311.9 MB / 1.167 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) * Number of clocked states: 0 () * 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.002809/2.299, allocations: 3.253 MB / 2.027 GB, free: 308.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001714/2.301, allocations: 1.92 MB / 2.029 GB, free: 306.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/2.301, allocations: 0 / 2.029 GB, free: 306.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005107/2.302, allocations: 0.5488 MB / 2.029 GB, free: 306.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/2.304, allocations: 0.4898 MB / 2.03 GB, free: 305.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003638/2.307, allocations: 3.993 MB / 2.034 GB, free: 301.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/2.308, allocations: 1.091 MB / 2.035 GB, free: 300.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007605/2.308, allocations: 215.1 kB / 2.035 GB, free: 300.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004576/2.309, allocations: 380.4 kB / 2.035 GB, free: 299.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.032e-06/2.309, allocations: 0 / 2.035 GB, free: 299.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05554/2.364, allocations: 36.21 MB / 2.071 GB, free: 264.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/2.365, allocations: 249.3 kB / 2.071 GB, free: 264 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.932/5.297, allocations: 0 / 2.071 GB, free: 264 MB / 1.167 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