Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",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.426/2.426, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.00141/0.00141, allocations: 176.8 kB / 487.4 MB, free: 5.043 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.591/1.591, allocations: 221.5 MB / 0.7824 GB, free: 1 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.001004/0.001004, allocations: 91.95 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.693e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3424, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.592, allocations: 371.7 MB / 1.569 GB, free: 1.617 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/1.592, allocations: 87.38 kB / 1.569 GB, free: 1.566 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.03233/1.625, allocations: 12.91 MB / 1.582 GB, free: 7.426 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.803e-06/1.625, allocations: 0 / 1.582 GB, free: 7.426 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 9.659e-06/1.625, allocations: 0 / 1.582 GB, free: 7.426 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000592/1.625, allocations: 381.8 kB / 1.582 GB, free: 7.016 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.626, allocations: 12.03 kB / 1.582 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/1.626, allocations: 7.906 kB / 1.582 GB, free: 6.996 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/1.626, allocations: 171 kB / 1.582 GB, free: 6.789 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/1.626, allocations: 5.422 kB / 1.582 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/1.626, allocations: 0 / 1.582 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001682/1.626, allocations: 53.72 kB / 1.582 GB, free: 6.746 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/1.626, allocations: 63.23 kB / 1.582 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.626, allocations: 224 / 1.582 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/1.626, allocations: 0 / 1.582 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/1.626, allocations: 3.938 kB / 1.582 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/1.627, allocations: 304.4 kB / 1.583 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/1.627, allocations: 89.55 kB / 1.583 GB, free: 6.309 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.281e-05/1.627, allocations: 32.86 kB / 1.583 GB, free: 6.285 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009282/1.628, allocations: 0.7456 MB / 1.584 GB, free: 5.445 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/1.628, allocations: 45.33 kB / 1.584 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/1.628, allocations: 0 / 1.584 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of matching and sorting (n=8): time 0.0004153/1.629, allocations: 106.8 kB / 1.584 GB, free: 5.301 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/1.629, allocations: 55.41 kB / 1.584 GB, free: 5.234 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/1.629, allocations: 111.8 kB / 1.584 GB, free: 5.125 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/1.629, allocations: 25.7 kB / 1.584 GB, free: 5.094 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.326e-05/1.629, allocations: 90.92 kB / 1.584 GB, free: 5.008 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/1.629, allocations: 27.64 kB / 1.584 GB, free: 4.98 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.629, allocations: 0 / 1.584 GB, free: 4.98 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001399/1.629, allocations: 318.3 kB / 1.584 GB, free: 4.664 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/1.629, allocations: 17.88 kB / 1.584 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.968e-05/1.629, allocations: 35.94 kB / 1.584 GB, free: 4.621 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/1.629, allocations: 49.09 kB / 1.584 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.629, allocations: 0 / 1.584 GB, free: 4.586 MB / 0.9948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002997/1.63, allocations: 120.4 kB / 1.584 GB, free: 4.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.63, allocations: 4 kB / 1.585 GB, free: 4.477 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.63, allocations: 4.141 kB / 1.585 GB, free: 4.473 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.63, allocations: 4 kB / 1.585 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001552/1.63, allocations: 23.92 kB / 1.585 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/1.63, allocations: 0 / 1.585 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.71e-05/1.63, allocations: 12.05 kB / 1.585 GB, free: 4.434 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/1.63, allocations: 11.95 kB / 1.585 GB, free: 4.422 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001391/1.63, allocations: 104.9 kB / 1.585 GB, free: 4.312 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000298/1.63, allocations: 104.6 kB / 1.585 GB, free: 4.223 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/1.63, allocations: 11.86 kB / 1.585 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003511/1.631, allocations: 128.7 kB / 1.585 GB, free: 4.105 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-06/1.631, allocations: 4 kB / 1.585 GB, free: 4.102 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/1.631, allocations: 0 / 1.585 GB, free: 4.102 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.631, allocations: 0 / 1.585 GB, free: 4.102 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/1.631, allocations: 165.7 kB / 1.585 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.631, allocations: 0 / 1.585 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/1.631, allocations: 23.92 kB / 1.585 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.631, allocations: 0 / 1.585 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/1.631, allocations: 3.953 kB / 1.585 GB, free: 3.887 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.631, allocations: 0 / 1.585 GB, free: 3.887 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.631, allocations: 4 kB / 1.585 GB, free: 3.883 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/1.632, allocations: 214.4 kB / 1.585 GB, free: 3.68 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/1.632, allocations: 81.02 kB / 1.585 GB, free: 3.582 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/1.632, allocations: 0 / 1.585 GB, free: 3.582 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/1.632, allocations: 11.95 kB / 1.585 GB, free: 3.57 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.076e-05/1.632, allocations: 3.984 kB / 1.585 GB, free: 3.566 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/1.632, allocations: 4 kB / 1.585 GB, free: 3.562 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 6.477e-05/1.632, allocations: 95.14 kB / 1.585 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.632, allocations: 0 / 1.585 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002723/1.632, allocations: 27.62 kB / 1.585 GB, free: 3.449 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008656/1.633, allocations: 0.7718 MB / 1.586 GB, free: 2.672 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001596/1.633, allocations: 59.73 kB / 1.586 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.633, allocations: 4 kB / 1.586 GB, free: 2.629 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.488e-05/1.633, allocations: 27.12 kB / 1.586 GB, free: 2.609 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/1.634, allocations: 16.77 kB / 1.586 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/1.634, allocations: 135.4 kB / 1.586 GB, free: 2.438 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/1.634, allocations: 0.6924 MB / 1.587 GB, free: 1.719 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.539e-05/1.635, allocations: 8.188 kB / 1.587 GB, free: 1.707 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/1.635, allocations: 22.92 kB / 1.587 GB, free: 1.695 MB / 0.9948 GB Notification: Performance of SimCode: time 2.8e-07/1.635, allocations: 3.938 kB / 1.587 GB, free: 1.691 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/1.664, allocations: 1.803 MB / 1.589 GB, free: 15.91 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003549/1.665, allocations: 161.9 kB / 1.589 GB, free: 15.71 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/3.304, allocations: 0 / 1.589 GB, free: 15.71 MB / 1.01 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber_res.mat does not exist to compare? outputFormat=mat