Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.589/1.589, allocations: 288.4 MB / 303.6 MB, free: 7.988 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.001001/0.001001, allocations: 177.4 kB / 372.3 MB, free: 10.12 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.393/1.393, allocations: 205.4 MB / 0.631 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008425/0.0008426, allocations: 90.25 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004019/0.0004021, allocations: 12.97 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2018, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5714/0.7733, allocations: 165.3 MB / 1.142 GB, free: 13.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005653/0.779, allocations: 4.182 MB / 1.146 GB, free: 12.5 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005009/0.7795, allocations: 17.16 kB / 1.146 GB, free: 12.49 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.7801, allocations: 175.7 kB / 1.146 GB, free: 12.42 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.7818, allocations: 0.6685 MB / 1.147 GB, free: 12.14 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.785, allocations: 1.294 MB / 1.148 GB, free: 11.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.7864, allocations: 1.454 MB / 1.149 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004845/0.7869, allocations: 378.3 kB / 1.15 GB, free: 10.87 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008194/0.7877, allocations: 0.5205 MB / 1.15 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004389/0.7881, allocations: 390.8 kB / 1.15 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.7882, allocations: 26.81 kB / 1.15 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.791, allocations: 1.769 MB / 1.152 GB, free: 9.734 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.7912, allocations: 167.3 kB / 1.152 GB, free: 9.66 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002947/0.7915, allocations: 291.9 kB / 1.153 GB, free: 9.531 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.7926, allocations: 0.893 MB / 1.154 GB, free: 9.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7927, allocations: 0 / 1.154 GB, free: 9.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7927, allocations: 0 / 1.154 GB, free: 9.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.7927, allocations: 1.281 kB / 1.154 GB, free: 9.09 MB / 0.698 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.00162/0.7943, allocations: 0.9302 MB / 1.154 GB, free: 8.348 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7944, allocations: 9.719 kB / 1.154 GB, free: 8.348 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.442e-05/0.7944, allocations: 86.14 kB / 1.155 GB, free: 8.293 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.7963, allocations: 291.3 kB / 1.155 GB, free: 8.176 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.797, allocations: 442.2 kB / 1.155 GB, free: 7.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.7971, allocations: 33.53 kB / 1.155 GB, free: 7.836 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.7972, allocations: 44 kB / 1.155 GB, free: 7.836 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.7982, allocations: 0.5619 MB / 1.156 GB, free: 7.602 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.7982, allocations: 5.016 kB / 1.156 GB, free: 7.598 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.7983, allocations: 17.94 kB / 1.156 GB, free: 7.594 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.7983, allocations: 9.688 kB / 1.156 GB, free: 7.594 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.7994, allocations: 489.5 kB / 1.156 GB, free: 7.496 MB / 0.698 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.002362/0.8017, allocations: 2.133 MB / 1.158 GB, free: 5.906 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.8028, allocations: 440.3 kB / 1.159 GB, free: 5.793 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/0.8033, allocations: 234.4 kB / 1.159 GB, free: 5.746 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.804, allocations: 417.6 kB / 1.159 GB, free: 5.336 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006435/0.8047, allocations: 302.8 kB / 1.16 GB, free: 5.211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.254e-06/0.8047, allocations: 0 / 1.16 GB, free: 5.211 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001864/0.8066, allocations: 0.7358 MB / 1.16 GB, free: 4.973 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.8066, allocations: 60.39 kB / 1.161 GB, free: 4.906 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.8072, allocations: 494.6 kB / 1.161 GB, free: 4.609 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.8073, allocations: 37.02 kB / 1.161 GB, free: 4.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.8075, allocations: 260.4 kB / 1.161 GB, free: 4.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.8076, allocations: 126.7 kB / 1.161 GB, free: 4.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.8077, allocations: 10.47 kB / 1.161 GB, free: 4.223 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8078, allocations: 359.1 kB / 1.162 GB, free: 3.875 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.8084, allocations: 218.4 kB / 1.162 GB, free: 3.777 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.809, allocations: 330.7 kB / 1.162 GB, free: 3.555 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.8102, allocations: 0.5681 MB / 1.163 GB, free: 3.176 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8102, allocations: 4.938 kB / 1.163 GB, free: 3.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001549/0.8117, allocations: 0.6709 MB / 1.164 GB, free: 2.812 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.71e-05/0.8118, allocations: 71.52 kB / 1.164 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.8118, allocations: 2.094 kB / 1.164 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.8118, allocations: 5.375 kB / 1.164 GB, free: 2.738 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.8123, allocations: 98.78 kB / 1.164 GB, free: 2.719 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.8124, allocations: 8 kB / 1.164 GB, free: 2.715 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/0.8131, allocations: 94.66 kB / 1.164 GB, free: 2.664 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.751e-05/0.8132, allocations: 21.44 kB / 1.164 GB, free: 2.66 MB / 0.698 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.0003221/0.8135, allocations: 199.1 kB / 1.164 GB, free: 2.492 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.8136, allocations: 57.34 kB / 1.164 GB, free: 2.461 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.815, allocations: 0.565 MB / 1.165 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.815, allocations: 3.656 kB / 1.165 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.815, allocations: 11.94 kB / 1.165 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.815, allocations: 5.266 kB / 1.165 GB, free: 2.137 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/0.8175, allocations: 1.382 MB / 1.166 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.8175, allocations: 8.25 kB / 1.166 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/0.8179, allocations: 85.47 kB / 1.166 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.818, allocations: 4.906 kB / 1.166 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.818, allocations: 11.25 kB / 1.166 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.818, allocations: 9.438 kB / 1.166 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.818, allocations: 6.734 kB / 1.166 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.8197, allocations: 0.9832 MB / 1.167 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.82, allocations: 166.9 kB / 1.167 GB, free: 344 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.8202, allocations: 19.08 kB / 1.167 GB, free: 332 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005162/0.8207, allocations: 47.02 kB / 1.167 GB, free: 316 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.8208, allocations: 55.09 kB / 1.167 GB, free: 280 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.8209, allocations: 16.69 kB / 1.167 GB, free: 276 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004305/0.8213, allocations: 345.5 kB / 1.168 GB, free: 64 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8213, allocations: 0 / 1.168 GB, free: 64 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006696/0.822, allocations: 146.1 kB / 1.168 GB, free: 44 kB / 0.698 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.002353/0.8243, allocations: 1.599 MB / 1.169 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.8256, allocations: 0.6145 MB / 1.17 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8256, allocations: 0 / 1.17 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006515/0.8263, allocations: 313.1 kB / 1.17 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.828, allocations: 271.9 kB / 1.171 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.8335, allocations: 3.398 MB / 1.174 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004291/0.834, allocations: 0.8691 MB / 1.175 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0006118/0.8346, allocations: 124.9 kB / 1.175 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.8349, allocations: 172.6 kB / 1.175 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.8349, allocations: 0 / 1.175 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08486/0.9198, allocations: 14.98 MB / 1.19 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002384/0.9201, allocations: 238.5 kB / 1.19 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.532, allocations: 0 / 1.19 GB, free: 3.27 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)