Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 289.7 MB / 302.2 MB, free: 2.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001185/0.001185, allocations: 183.7 kB / 371.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009567/0.0009566, allocations: 89.22 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.517e-05/4.52e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3252, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.426/6.751, allocations: 2.064 GB / 3.044 GB, free: 178.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/6.752, allocations: 88.8 kB / 3.044 GB, free: 178.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.574/8.326, allocations: 426.1 MB / 3.46 GB, free: 123.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.402e-06/8.326, allocations: 0 / 3.46 GB, free: 123.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.576e-05/8.326, allocations: 19.98 kB / 3.46 GB, free: 123.2 MB / 0.948 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.00257/8.329, allocations: 0.9929 MB / 3.461 GB, free: 122.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/8.329, allocations: 8.031 kB / 3.461 GB, free: 122.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001653/8.329, allocations: 82.52 kB / 3.461 GB, free: 122.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/8.331, allocations: 282.9 kB / 3.461 GB, free: 121.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009912/8.332, allocations: 460.2 kB / 3.462 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/8.332, allocations: 33 kB / 3.462 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/8.332, allocations: 47.98 kB / 3.462 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/8.333, allocations: 0.4927 MB / 3.462 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/8.333, allocations: 0 / 3.462 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/8.333, allocations: 21.72 kB / 3.462 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/8.333, allocations: 12 kB / 3.462 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005693/8.334, allocations: 346.9 kB / 3.463 GB, free: 120.3 MB / 0.948 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.002468/8.336, allocations: 2.138 MB / 3.465 GB, free: 118.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/8.337, allocations: 322.5 kB / 3.465 GB, free: 117.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/8.337, allocations: 174.9 kB / 3.465 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005592/8.337, allocations: 400.3 kB / 3.466 GB, free: 117.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003573/8.338, allocations: 243 kB / 3.466 GB, free: 116.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=37): time 2.685e-06/8.338, allocations: 0 / 3.466 GB, free: 116.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=37): time 0.0008968/8.339, allocations: 421.2 kB / 3.466 GB, free: 116.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/8.339, allocations: 59.41 kB / 3.466 GB, free: 116.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004141/8.339, allocations: 423.9 kB / 3.467 GB, free: 116 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/8.339, allocations: 37.7 kB / 3.467 GB, free: 115.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/8.339, allocations: 260.4 kB / 3.467 GB, free: 115.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.259e-05/8.339, allocations: 122.3 kB / 3.467 GB, free: 115.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/8.339, allocations: 12 kB / 3.467 GB, free: 115.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.816e-05/8.34, allocations: 366.7 kB / 3.468 GB, free: 115.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000263/8.34, allocations: 145 kB / 3.468 GB, free: 115 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/8.34, allocations: 278.7 kB / 3.468 GB, free: 114.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/8.34, allocations: 234.1 kB / 3.468 GB, free: 114.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/8.34, allocations: 3.938 kB / 3.468 GB, free: 114.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008056/8.341, allocations: 0.552 MB / 3.469 GB, free: 113.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/8.341, allocations: 60.19 kB / 3.469 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/8.341, allocations: 4 kB / 3.469 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/8.341, allocations: 4 kB / 3.469 GB, free: 113.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/8.342, allocations: 108.2 kB / 3.469 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/8.342, allocations: 15.92 kB / 3.469 GB, free: 113.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006619/8.343, allocations: 91.39 kB / 3.469 GB, free: 113.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/8.343, allocations: 27.98 kB / 3.469 GB, free: 113.6 MB / 0.948 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.0001332/8.343, allocations: 140.8 kB / 3.469 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/8.343, allocations: 51.34 kB / 3.469 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007496/8.344, allocations: 450 kB / 3.47 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/8.344, allocations: 4 kB / 3.47 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/8.344, allocations: 0 / 3.47 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/8.344, allocations: 7.969 kB / 3.47 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/8.345, allocations: 1.236 MB / 3.471 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/8.345, allocations: 4 kB / 3.471 GB, free: 111.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/8.346, allocations: 92.27 kB / 3.471 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/8.346, allocations: 7.953 kB / 3.471 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/8.346, allocations: 12 kB / 3.471 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/8.346, allocations: 11.92 kB / 3.471 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/8.346, allocations: 4 kB / 3.471 GB, free: 111.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009316/8.347, allocations: 0.9426 MB / 3.472 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/8.347, allocations: 168.3 kB / 3.472 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.045e-05/8.347, allocations: 16 kB / 3.472 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004529/8.347, allocations: 63.94 kB / 3.472 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/8.348, allocations: 55.69 kB / 3.472 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/8.348, allocations: 23.94 kB / 3.472 GB, free: 110 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003046/8.348, allocations: 333.5 kB / 3.473 GB, free: 109.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/8.348, allocations: 0 / 3.473 GB, free: 109.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001321/8.349, allocations: 291.8 kB / 3.473 GB, free: 109.4 MB / 0.948 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.003282/8.353, allocations: 3.831 MB / 3.477 GB, free: 105.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006629/8.353, allocations: 494 kB / 3.477 GB, free: 104.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/8.353, allocations: 0 / 3.477 GB, free: 104.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003822/8.354, allocations: 237.2 kB / 3.477 GB, free: 104.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/8.355, allocations: 263.3 kB / 3.478 GB, free: 104.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/8.357, allocations: 0.9461 MB / 3.478 GB, free: 103.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/8.357, allocations: 0.8823 MB / 3.479 GB, free: 102.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005121/8.358, allocations: 124.7 kB / 3.479 GB, free: 102.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/8.358, allocations: 179.4 kB / 3.48 GB, free: 102.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.163e-06/8.358, allocations: 0 / 3.48 GB, free: 102.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06141/8.419, allocations: 41.09 MB / 3.52 GB, free: 61.23 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001514/8.42, allocations: 190.2 kB / 3.52 GB, free: 61 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.463/11.88, allocations: 3.938 kB / 3.52 GB, free: 61 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)