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.287/2.287, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001119/0.001119, allocations: 186.5 kB / 0.4901 GB, free: 2.215 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.523/1.523, allocations: 223.1 MB / 0.7992 GB, free: 15.63 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.0008854/0.0008853, allocations: 94.11 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003803, allocations: 14.81 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3151, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.392, allocations: 425.3 MB / 1.645 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/1.392, allocations: 112.8 kB / 1.645 GB, free: 15.87 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.307/2.699, allocations: 370.1 MB / 2.006 GB, free: 306.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.572e-06/2.699, allocations: 0 / 2.006 GB, free: 306.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001012/2.699, allocations: 24 kB / 2.006 GB, free: 306.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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002679/2.702, allocations: 1.653 MB / 2.008 GB, free: 305 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/2.702, allocations: 8.031 kB / 2.008 GB, free: 305 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001226/2.702, allocations: 114.5 kB / 2.008 GB, free: 304.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002464/2.702, allocations: 126.5 kB / 2.008 GB, free: 304.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/2.704, allocations: 1.184 MB / 2.009 GB, free: 303.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/2.704, allocations: 49.31 kB / 2.009 GB, free: 303.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.737e-05/2.704, allocations: 68 kB / 2.009 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/2.705, allocations: 0.7971 MB / 2.01 GB, free: 302.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/2.705, allocations: 7.938 kB / 2.01 GB, free: 302.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/2.705, allocations: 31.95 kB / 2.01 GB, free: 302.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/2.706, allocations: 19.94 kB / 2.01 GB, free: 302.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008665/2.706, allocations: 0.6102 MB / 2.011 GB, free: 301.9 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.003261/2.71, allocations: 3.107 MB / 2.014 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/2.71, allocations: 465.8 kB / 2.014 GB, free: 298.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005584/2.711, allocations: 0.7638 MB / 2.015 GB, free: 297.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/2.711, allocations: 38.84 kB / 2.015 GB, free: 297.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/2.711, allocations: 4 kB / 2.015 GB, free: 297.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=37): time 0.001444/2.712, allocations: 1.241 MB / 2.016 GB, free: 296 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/2.712, allocations: 136.8 kB / 2.016 GB, free: 295.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/2.713, allocations: 0.98 MB / 2.017 GB, free: 294.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.384e-05/2.714, allocations: 37.7 kB / 2.017 GB, free: 294.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/2.714, allocations: 475.1 kB / 2.018 GB, free: 294.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/2.714, allocations: 125.1 kB / 2.018 GB, free: 294.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/2.714, allocations: 12 kB / 2.018 GB, free: 294.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.482e-05/2.714, allocations: 326 kB / 2.018 GB, free: 293.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/2.714, allocations: 336.8 kB / 2.019 GB, free: 293.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004563/2.715, allocations: 456 kB / 2.019 GB, free: 293 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/2.715, allocations: 0.5219 MB / 2.019 GB, free: 292.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.715, allocations: 4 kB / 2.019 GB, free: 292.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001223/2.717, allocations: 1.08 MB / 2.021 GB, free: 291.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/2.717, allocations: 0.8768 MB / 2.021 GB, free: 290.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/2.717, allocations: 0 / 2.021 GB, free: 290.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/2.717, allocations: 4 kB / 2.021 GB, free: 290.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/2.717, allocations: 95.83 kB / 2.021 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/2.717, allocations: 7.984 kB / 2.021 GB, free: 290.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006827/2.718, allocations: 114.9 kB / 2.022 GB, free: 290.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.026e-05/2.718, allocations: 31.98 kB / 2.022 GB, free: 290.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/2.718, allocations: 7.953 kB / 2.022 GB, free: 290.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/2.719, allocations: 1.072 MB / 2.023 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/2.719, allocations: 0 / 2.023 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.461e-06/2.719, allocations: 7.984 kB / 2.023 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/2.72, allocations: 87.89 kB / 2.023 GB, free: 288.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/2.72, allocations: 4 kB / 2.023 GB, free: 288.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/2.72, allocations: 91.55 kB / 2.023 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/2.72, allocations: 31.98 kB / 2.023 GB, free: 288.8 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.0005442/2.721, allocations: 475.4 kB / 2.023 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/2.721, allocations: 106.7 kB / 2.023 GB, free: 288.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/2.722, allocations: 0.9097 MB / 2.024 GB, free: 287.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/2.722, allocations: 7.984 kB / 2.024 GB, free: 287.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/2.722, allocations: 4 kB / 2.024 GB, free: 287.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008649/2.723, allocations: 0.9834 MB / 2.025 GB, free: 286.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/2.725, allocations: 2.108 MB / 2.027 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/2.725, allocations: 3.984 kB / 2.027 GB, free: 284 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002761/2.726, allocations: 72.16 kB / 2.027 GB, free: 283.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/2.726, allocations: 4 kB / 2.027 GB, free: 283.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/2.726, allocations: 12 kB / 2.027 GB, free: 283.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/2.726, allocations: 7.984 kB / 2.027 GB, free: 283.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/2.726, allocations: 4 kB / 2.027 GB, free: 283.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/2.727, allocations: 1.531 MB / 2.029 GB, free: 282.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003613/2.728, allocations: 287.6 kB / 2.029 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/2.728, allocations: 19.94 kB / 2.029 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005352/2.728, allocations: 51.97 kB / 2.029 GB, free: 281.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/2.728, allocations: 51.89 kB / 2.029 GB, free: 281.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/2.729, allocations: 19.98 kB / 2.029 GB, free: 281.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008887/2.729, allocations: 0.7845 MB / 2.03 GB, free: 281 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/2.729, allocations: 0 / 2.03 GB, free: 281 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001644/2.731, allocations: 0.5924 MB / 2.031 GB, free: 280.4 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.00303/2.734, allocations: 3.256 MB / 2.034 GB, free: 277.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001742/2.736, allocations: 1.912 MB / 2.036 GB, free: 275 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/2.736, allocations: 4 kB / 2.036 GB, free: 275 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000546/2.736, allocations: 0.5492 MB / 2.036 GB, free: 274.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/2.738, allocations: 0.5016 MB / 2.037 GB, free: 274 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/2.742, allocations: 3.981 MB / 2.041 GB, free: 269.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/2.742, allocations: 1.095 MB / 2.042 GB, free: 268.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006809/2.743, allocations: 204 kB / 2.042 GB, free: 268.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/2.743, allocations: 379.2 kB / 2.042 GB, free: 268.2 MB / 1.167 GB Notification: Performance of SimCode: time 9.71e-07/2.743, allocations: 0 / 2.042 GB, free: 268.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04801/2.791, allocations: 36.2 MB / 2.078 GB, free: 232.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/2.792, allocations: 259.1 kB / 2.078 GB, free: 232.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/5.916, allocations: 4.281 kB / 2.078 GB, free: 232.1 MB / 1.167 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