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.392/2.392, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001196/0.001196, allocations: 181 kB / 498.1 MB, free: 5.684 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.543/1.543, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.001025/0.001025, allocations: 86.97 kB / 0.9346 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003653, allocations: 8.656 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2615/0.2619, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.367/4.629, allocations: 1.868 GB / 3.091 GB, free: 146.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/4.629, allocations: 88.52 kB / 3.091 GB, free: 146.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.564/6.193, allocations: 430.4 MB / 3.512 GB, free: 180.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.483e-06/6.193, allocations: 0 / 3.512 GB, free: 180.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.324e-05/6.193, allocations: 19.98 kB / 3.512 GB, free: 180.9 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002597/6.195, allocations: 1.074 MB / 3.513 GB, free: 179.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/6.195, allocations: 8.031 kB / 3.513 GB, free: 179.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/6.196, allocations: 78.52 kB / 3.513 GB, free: 179.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/6.198, allocations: 290.9 kB / 3.513 GB, free: 179.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/6.199, allocations: 457.7 kB / 3.514 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/6.199, allocations: 33 kB / 3.514 GB, free: 178.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/6.199, allocations: 47.94 kB / 3.514 GB, free: 178.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/6.2, allocations: 0.5468 MB / 3.514 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/6.2, allocations: 3.938 kB / 3.514 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.214e-05/6.2, allocations: 24 kB / 3.514 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/6.2, allocations: 8 kB / 3.514 GB, free: 178.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/6.201, allocations: 471.5 kB / 3.515 GB, free: 177.8 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.002518/6.203, allocations: 2.139 MB / 3.517 GB, free: 175.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008725/6.204, allocations: 414.5 kB / 3.517 GB, free: 175.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000546/6.205, allocations: 400.3 kB / 3.518 GB, free: 174.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000539/6.205, allocations: 294.9 kB / 3.518 GB, free: 174.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=37): time 3.146e-06/6.205, allocations: 0 / 3.518 GB, free: 174.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=37): time 0.001628/6.207, allocations: 0.7041 MB / 3.519 GB, free: 173.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/6.207, allocations: 67.11 kB / 3.519 GB, free: 173.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/6.208, allocations: 437.2 kB / 3.519 GB, free: 173.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/6.208, allocations: 37.7 kB / 3.519 GB, free: 173 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/6.208, allocations: 264.4 kB / 3.519 GB, free: 172.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 8.924e-05/6.208, allocations: 122.3 kB / 3.519 GB, free: 172.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/6.208, allocations: 15.94 kB / 3.519 GB, free: 172.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.292e-05/6.208, allocations: 362.8 kB / 3.52 GB, free: 172.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/6.208, allocations: 212.8 kB / 3.52 GB, free: 172.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/6.209, allocations: 334.7 kB / 3.52 GB, free: 171.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004804/6.209, allocations: 291.2 kB / 3.521 GB, free: 171.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/6.209, allocations: 0 / 3.521 GB, free: 171.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001141/6.211, allocations: 0.6614 MB / 3.521 GB, free: 170.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/6.211, allocations: 63.39 kB / 3.521 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/6.211, allocations: 4.25 kB / 3.521 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/6.211, allocations: 8 kB / 3.521 GB, free: 170.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004546/6.211, allocations: 107.8 kB / 3.521 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/6.211, allocations: 8.062 kB / 3.521 GB, free: 170.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/6.212, allocations: 99.42 kB / 3.521 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.093e-05/6.212, allocations: 20 kB / 3.522 GB, free: 170.4 MB / 1.167 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 () * Number of clocked 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.0002174/6.212, allocations: 191.6 kB / 3.522 GB, free: 170.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/6.212, allocations: 55.34 kB / 3.522 GB, free: 170.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/6.213, allocations: 0.5528 MB / 3.522 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/6.213, allocations: 4 kB / 3.522 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/6.213, allocations: 3.938 kB / 3.522 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/6.213, allocations: 3.984 kB / 3.522 GB, free: 169.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/6.215, allocations: 1.353 MB / 3.524 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/6.215, allocations: 4.438 kB / 3.524 GB, free: 168.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/6.216, allocations: 91.88 kB / 3.524 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/6.216, allocations: 4 kB / 3.524 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/6.216, allocations: 12 kB / 3.524 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/6.216, allocations: 4 kB / 3.524 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/6.216, allocations: 7.938 kB / 3.524 GB, free: 168 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/6.217, allocations: 1.132 MB / 3.525 GB, free: 166.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/6.218, allocations: 168.3 kB / 3.525 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.4e-05/6.218, allocations: 15.94 kB / 3.525 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005062/6.218, allocations: 51.94 kB / 3.525 GB, free: 166.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/6.218, allocations: 51.95 kB / 3.525 GB, free: 166.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-05/6.218, allocations: 19.94 kB / 3.525 GB, free: 166.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003312/6.219, allocations: 334.8 kB / 3.525 GB, free: 166.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.31e-07/6.219, allocations: 0 / 3.525 GB, free: 166.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001026/6.22, allocations: 295.8 kB / 3.526 GB, free: 165.8 MB / 1.167 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) * Number of clocked states: 0 () * 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.003656/6.223, allocations: 3.999 MB / 3.53 GB, free: 161.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001092/6.225, allocations: 0.5962 MB / 3.53 GB, free: 161 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/6.225, allocations: 0 / 3.53 GB, free: 161 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005845/6.225, allocations: 296.8 kB / 3.531 GB, free: 160.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/6.226, allocations: 270.3 kB / 3.531 GB, free: 160.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/6.232, allocations: 5.16 MB / 3.536 GB, free: 155.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/6.233, allocations: 0.8824 MB / 3.537 GB, free: 154.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0005586/6.233, allocations: 124.7 kB / 3.537 GB, free: 154.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/6.233, allocations: 171.4 kB / 3.537 GB, free: 153.9 MB / 1.167 GB Notification: Performance of SimCode: time 1.613e-06/6.233, allocations: 0 / 3.537 GB, free: 153.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04674/6.28, allocations: 37.15 MB / 3.573 GB, free: 117 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/6.28, allocations: 211.6 kB / 3.573 GB, free: 116.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.091/9.371, allocations: 64 / 3.573 GB, free: 116.8 MB / 1.167 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