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.863/1.863, allocations: 288.2 MB / 303.2 MB, free: 8.117 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.001242/0.001242, allocations: 181 kB / 371.8 MB, free: 10.28 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.835/1.835, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009075/0.0009073, allocations: 96.98 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.0004272, allocations: 12.97 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2757, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8805/1.156, allocations: 151.4 MB / 1.127 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006937/1.163, allocations: 4.116 MB / 1.131 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007594/1.164, allocations: 19.03 kB / 1.131 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/1.165, allocations: 278.8 kB / 1.132 GB, free: 488 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002155/1.167, allocations: 0.5868 MB / 1.132 GB, free: 448 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003268/1.171, allocations: 0.9773 MB / 1.133 GB, free: 408 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001474/1.172, allocations: 0.7456 MB / 1.134 GB, free: 372 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00058/1.173, allocations: 363.5 kB / 1.134 GB, free: 328 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/1.174, allocations: 0.6564 MB / 1.135 GB, free: 248 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/1.175, allocations: 295.1 kB / 1.135 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.265e-05/1.175, allocations: 26.34 kB / 1.135 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001809/1.177, allocations: 0.5842 MB / 1.136 GB, free: 160 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002014/1.177, allocations: 157.9 kB / 1.136 GB, free: 140 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002248/1.177, allocations: 134.5 kB / 1.136 GB, free: 88 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/1.179, allocations: 0.6785 MB / 1.137 GB, free: 0 / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.179, allocations: 1.969 kB / 1.137 GB, free: 0 / 0.6823 GB Notification: Performance of FrontEnd: time 4.168e-06/1.179, allocations: 4.031 kB / 1.137 GB, free: 15.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.518e-05/1.179, allocations: 4 kB / 1.137 GB, free: 15.99 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.002125/1.181, allocations: 0.893 MB / 1.138 GB, free: 15.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/1.181, allocations: 8.438 kB / 1.138 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/1.181, allocations: 83.28 kB / 1.138 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003149/1.185, allocations: 293.8 kB / 1.138 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/1.186, allocations: 433 kB / 1.138 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.669e-05/1.186, allocations: 34.66 kB / 1.138 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/1.186, allocations: 46.38 kB / 1.138 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/1.188, allocations: 0.5554 MB / 1.139 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/1.188, allocations: 0 / 1.139 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.741e-05/1.188, allocations: 16.69 kB / 1.139 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.16e-05/1.188, allocations: 8.875 kB / 1.139 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/1.189, allocations: 492.2 kB / 1.139 GB, free: 14.47 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.004086/1.193, allocations: 2.13 MB / 1.142 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/1.195, allocations: 443.3 kB / 1.142 GB, free: 12.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006354/1.196, allocations: 142.2 kB / 1.142 GB, free: 12.69 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.197, allocations: 331 kB / 1.142 GB, free: 12.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 7.935e-06/1.197, allocations: 3.984 kB / 1.142 GB, free: 12.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.003223/1.2, allocations: 0.7394 MB / 1.143 GB, free: 12.34 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.735e-05/1.2, allocations: 84.92 kB / 1.143 GB, free: 12.24 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/1.201, allocations: 488.4 kB / 1.144 GB, free: 12.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.023e-05/1.201, allocations: 38.73 kB / 1.144 GB, free: 12.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002872/1.202, allocations: 261.2 kB / 1.144 GB, free: 11.87 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/1.202, allocations: 131.1 kB / 1.144 GB, free: 11.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/1.202, allocations: 8.812 kB / 1.144 GB, free: 11.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002262/1.202, allocations: 364.3 kB / 1.144 GB, free: 11.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008198/1.203, allocations: 210.4 kB / 1.145 GB, free: 11.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/1.204, allocations: 345.8 kB / 1.145 GB, free: 11.22 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009576/1.205, allocations: 291.2 kB / 1.145 GB, free: 11.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/1.205, allocations: 1.312 kB / 1.145 GB, free: 11.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002279/1.207, allocations: 0.6772 MB / 1.146 GB, free: 10.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.446e-05/1.208, allocations: 62.06 kB / 1.146 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/1.208, allocations: 4.219 kB / 1.146 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/1.208, allocations: 4.938 kB / 1.146 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007904/1.208, allocations: 105.9 kB / 1.146 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/1.208, allocations: 5.219 kB / 1.146 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009976/1.209, allocations: 92.28 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/1.21, allocations: 20.75 kB / 1.146 GB, free: 10.75 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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.0004314/1.21, allocations: 199.5 kB / 1.146 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/1.21, allocations: 52.66 kB / 1.146 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.212, allocations: 0.5335 MB / 1.147 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/1.212, allocations: 7.469 kB / 1.147 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/1.212, allocations: 2.859 kB / 1.147 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.212, allocations: 4.438 kB / 1.147 GB, free: 10.42 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/1.215, allocations: 1.47 MB / 1.148 GB, free: 9.656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.25e-05/1.215, allocations: 8.672 kB / 1.148 GB, free: 9.652 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005375/1.216, allocations: 85.7 kB / 1.149 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.308e-05/1.216, allocations: 7.375 kB / 1.149 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/1.216, allocations: 15.52 kB / 1.149 GB, free: 9.629 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.318e-05/1.216, allocations: 10.84 kB / 1.149 GB, free: 9.625 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.231e-05/1.216, allocations: 4.625 kB / 1.149 GB, free: 9.625 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/1.219, allocations: 1.235 MB / 1.15 GB, free: 8.832 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/1.219, allocations: 172 kB / 1.15 GB, free: 8.691 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/1.219, allocations: 15.94 kB / 1.15 GB, free: 8.691 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/1.22, allocations: 55.05 kB / 1.15 GB, free: 8.672 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/1.22, allocations: 58.39 kB / 1.15 GB, free: 8.645 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/1.22, allocations: 20.42 kB / 1.15 GB, free: 8.641 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005925/1.221, allocations: 339.8 kB / 1.15 GB, free: 8.508 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.221, allocations: 1.75 kB / 1.15 GB, free: 8.508 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009307/1.221, allocations: 146.8 kB / 1.151 GB, free: 8.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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.003709/1.225, allocations: 3.175 MB / 1.154 GB, free: 5.879 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001491/1.227, allocations: 0.6089 MB / 1.154 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.227, allocations: 1.062 kB / 1.154 GB, free: 5.641 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008442/1.228, allocations: 331.2 kB / 1.155 GB, free: 5.574 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.229, allocations: 278.3 kB / 1.155 GB, free: 5.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007376/1.236, allocations: 5.355 MB / 1.16 GB, free: 1.809 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/1.237, allocations: 0.8759 MB / 1.161 GB, free: 1.023 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006853/1.238, allocations: 125 kB / 1.161 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/1.238, allocations: 174.9 kB / 1.161 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of SimCode: time 2.835e-06/1.238, allocations: 5.344 kB / 1.161 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/1.272, allocations: 14.79 MB / 1.176 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001838/1.272, allocations: 235.5 kB / 1.176 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.909, allocations: 0 / 1.176 GB, free: 9.598 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)