Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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.262/2.262, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001323/0.001323, allocations: 180.7 kB / 487.4 MB, free: 5.082 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.482/1.482, allocations: 221.5 MB / 0.7824 GB, free: 1.008 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.0009842/0.0009842, allocations: 107.7 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.797e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2468, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.788/5.035, allocations: 1.868 GB / 3.074 GB, free: 362.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/5.035, allocations: 87.19 kB / 3.074 GB, free: 362.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.8189/5.854, allocations: 424.8 MB / 3.489 GB, free: 11.12 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/5.854, allocations: 0 / 3.489 GB, free: 11.12 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.727e-05/5.854, allocations: 19.98 kB / 3.489 GB, free: 11.1 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001728/5.856, allocations: 0.9889 MB / 3.49 GB, free: 10.05 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/5.856, allocations: 12.03 kB / 3.49 GB, free: 10.04 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/5.858, allocations: 279 kB / 3.49 GB, free: 9.766 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/5.858, allocations: 468.4 kB / 3.49 GB, free: 9.27 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/5.858, allocations: 16 kB / 3.49 GB, free: 9.254 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.998e-05/5.858, allocations: 27.91 kB / 3.49 GB, free: 9.227 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000476/5.859, allocations: 314.5 kB / 3.491 GB, free: 8.918 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005803/5.859, allocations: 457 kB / 3.491 GB, free: 8.438 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/5.86, allocations: 4 kB / 3.491 GB, free: 8.434 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/5.86, allocations: 0 / 3.491 GB, free: 8.434 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/5.86, allocations: 8 kB / 3.491 GB, free: 8.426 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.00195/5.862, allocations: 2.036 MB / 3.493 GB, free: 6.27 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/5.862, allocations: 306.6 kB / 3.493 GB, free: 5.961 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001935/5.862, allocations: 168.8 kB / 3.494 GB, free: 5.793 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005133/5.863, allocations: 396.4 kB / 3.494 GB, free: 5.332 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/5.863, allocations: 231.3 kB / 3.494 GB, free: 5.094 MB / 1.151 GB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/5.863, allocations: 0 / 3.494 GB, free: 5.094 MB / 1.151 GB Notification: Performance of matching and sorting (n=37): time 0.001023/5.864, allocations: 444.6 kB / 3.495 GB, free: 4.652 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/5.864, allocations: 55.41 kB / 3.495 GB, free: 4.586 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002487/5.864, allocations: 313.2 kB / 3.495 GB, free: 4.273 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/5.864, allocations: 29.7 kB / 3.495 GB, free: 4.238 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/5.865, allocations: 272 kB / 3.495 GB, free: 3.969 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/5.865, allocations: 118.2 kB / 3.495 GB, free: 3.852 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/5.865, allocations: 0 / 3.495 GB, free: 3.852 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.201e-05/5.865, allocations: 354.8 kB / 3.496 GB, free: 3.496 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/5.865, allocations: 137 kB / 3.496 GB, free: 3.363 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/5.865, allocations: 273.8 kB / 3.496 GB, free: 3.047 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004046/5.866, allocations: 211.8 kB / 3.496 GB, free: 2.84 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/5.866, allocations: 0 / 3.496 GB, free: 2.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000782/5.866, allocations: 0.5083 MB / 3.497 GB, free: 2.324 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.146e-05/5.866, allocations: 63.39 kB / 3.497 GB, free: 2.25 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/5.866, allocations: 7.984 kB / 3.497 GB, free: 2.242 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/5.866, allocations: 8 kB / 3.497 GB, free: 2.234 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004406/5.867, allocations: 104.2 kB / 3.497 GB, free: 2.133 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/5.867, allocations: 8 kB / 3.497 GB, free: 2.125 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/5.867, allocations: 79.5 kB / 3.497 GB, free: 2.047 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.475e-05/5.868, allocations: 24 kB / 3.497 GB, free: 2.023 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001051/5.868, allocations: 121.6 kB / 3.497 GB, free: 1.898 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006503/5.868, allocations: 424.4 kB / 3.498 GB, free: 1.477 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/5.868, allocations: 43.44 kB / 3.498 GB, free: 1.434 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007768/5.869, allocations: 462.1 kB / 3.498 GB, free: 0.9727 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/5.869, allocations: 0 / 3.498 GB, free: 0.9727 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/5.869, allocations: 7.938 kB / 3.498 GB, free: 0.9648 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/5.869, allocations: 3.984 kB / 3.498 GB, free: 0.9609 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6931/6.562, allocations: 1.197 MB / 3.499 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/6.562, allocations: 3.906 kB / 3.499 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/6.563, allocations: 85.88 kB / 3.499 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/6.563, allocations: 8.844 kB / 3.499 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/6.563, allocations: 11.22 kB / 3.499 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/6.563, allocations: 7.016 kB / 3.499 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/6.563, allocations: 8.094 kB / 3.499 GB, free: 298.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/6.564, allocations: 0.9677 MB / 3.5 GB, free: 298.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/6.565, allocations: 161 kB / 3.5 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/6.565, allocations: 11.3 kB / 3.5 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/6.565, allocations: 46.27 kB / 3.501 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/6.565, allocations: 52.38 kB / 3.501 GB, free: 298.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/6.565, allocations: 18.08 kB / 3.501 GB, free: 298.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002963/6.566, allocations: 236 kB / 3.501 GB, free: 298.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/6.566, allocations: 0 / 3.501 GB, free: 298.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009806/6.567, allocations: 245.5 kB / 3.501 GB, free: 298.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.004305/6.571, allocations: 4.027 MB / 3.505 GB, free: 295.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000892/6.572, allocations: 464.2 kB / 3.505 GB, free: 295.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/6.572, allocations: 1.812 kB / 3.505 GB, free: 295.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005087/6.573, allocations: 229.7 kB / 3.506 GB, free: 295.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/6.574, allocations: 192.1 kB / 3.506 GB, free: 295.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/6.576, allocations: 0.8982 MB / 3.507 GB, free: 295.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/6.576, allocations: 0.8797 MB / 3.508 GB, free: 294.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0005278/6.577, allocations: 106.4 kB / 3.508 GB, free: 294.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/6.577, allocations: 170.5 kB / 3.508 GB, free: 294.6 MB / 1.151 GB Notification: Performance of SimCode: time 7.62e-07/6.577, allocations: 0 / 3.508 GB, free: 294.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05932/6.636, allocations: 22.76 MB / 3.53 GB, free: 294.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/6.637, allocations: 177.6 kB / 3.53 GB, free: 294.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.788/9.425, allocations: 0 / 3.53 GB, free: 294.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat does not exist to compare? outputFormat=mat