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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.758/1.758, allocations: 288.4 MB / 303.7 MB, free: 8.02 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.001065/0.001065, allocations: 177.3 kB / 372.3 MB, free: 10.13 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.842/1.842, allocations: 205.4 MB / 0.631 GB, free: 9.941 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.001209/0.00121, allocations: 94.28 kB / 0.7444 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005429/0.0005429, allocations: 21.78 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2889, allocations: 115.3 MB / 0.9801 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.8525/1.142, allocations: 165.3 MB / 1.142 GB, free: 13.92 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007493/1.149, allocations: 4.179 MB / 1.146 GB, free: 12.52 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008752/1.15, allocations: 17.94 kB / 1.146 GB, free: 12.51 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009407/1.151, allocations: 169.4 kB / 1.146 GB, free: 12.44 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002831/1.154, allocations: 0.6751 MB / 1.146 GB, free: 12.15 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005527/1.159, allocations: 1.293 MB / 1.148 GB, free: 11.58 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002467/1.162, allocations: 1.453 MB / 1.149 GB, free: 11.05 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009449/1.163, allocations: 379.8 kB / 1.15 GB, free: 10.9 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/1.164, allocations: 0.5098 MB / 1.15 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/1.165, allocations: 391 kB / 1.15 GB, free: 10.53 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/1.165, allocations: 25.72 kB / 1.15 GB, free: 10.53 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003682/1.169, allocations: 1.779 MB / 1.152 GB, free: 9.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002468/1.169, allocations: 164 kB / 1.152 GB, free: 9.695 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004236/1.169, allocations: 295.7 kB / 1.153 GB, free: 9.566 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001606/1.171, allocations: 0.897 MB / 1.153 GB, free: 9.121 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/1.171, allocations: 0 / 1.153 GB, free: 9.121 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.775e-06/1.171, allocations: 0 / 1.153 GB, free: 9.121 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.747e-06/1.171, allocations: 3.938 kB / 1.153 GB, free: 9.117 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.00177/1.173, allocations: 0.928 MB / 1.154 GB, free: 8.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/1.173, allocations: 8.875 kB / 1.154 GB, free: 8.379 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/1.175, allocations: 292.6 kB / 1.155 GB, free: 8.262 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/1.175, allocations: 446.5 kB / 1.155 GB, free: 7.922 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/1.176, allocations: 30.28 kB / 1.155 GB, free: 7.918 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-05/1.176, allocations: 42.34 kB / 1.155 GB, free: 7.918 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/1.177, allocations: 0.5623 MB / 1.156 GB, free: 7.684 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/1.177, allocations: 5.188 kB / 1.156 GB, free: 7.68 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.476e-05/1.177, allocations: 21.48 kB / 1.156 GB, free: 7.676 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/1.177, allocations: 13.66 kB / 1.156 GB, free: 7.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/1.178, allocations: 486.6 kB / 1.156 GB, free: 7.574 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.002769/1.181, allocations: 2.13 MB / 1.158 GB, free: 5.988 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/1.182, allocations: 430.5 kB / 1.159 GB, free: 5.883 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/1.182, allocations: 249.2 kB / 1.159 GB, free: 5.824 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007137/1.183, allocations: 406.3 kB / 1.159 GB, free: 5.422 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006322/1.184, allocations: 311.8 kB / 1.16 GB, free: 5.289 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.585e-06/1.184, allocations: 3.938 kB / 1.16 GB, free: 5.285 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001853/1.186, allocations: 0.73 MB / 1.16 GB, free: 5.094 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.186, allocations: 60.91 kB / 1.16 GB, free: 5.027 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/1.186, allocations: 496.5 kB / 1.161 GB, free: 4.797 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/1.186, allocations: 34.73 kB / 1.161 GB, free: 4.762 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002057/1.187, allocations: 259.2 kB / 1.161 GB, free: 4.531 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/1.187, allocations: 118.8 kB / 1.161 GB, free: 4.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/1.187, allocations: 10.19 kB / 1.161 GB, free: 4.422 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.187, allocations: 364.3 kB / 1.162 GB, free: 4.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/1.187, allocations: 213.3 kB / 1.162 GB, free: 3.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/1.188, allocations: 331 kB / 1.162 GB, free: 3.754 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.189, allocations: 0.576 MB / 1.163 GB, free: 3.367 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.189, allocations: 1.094 kB / 1.163 GB, free: 3.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001392/1.191, allocations: 0.6786 MB / 1.163 GB, free: 3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/1.191, allocations: 58.62 kB / 1.163 GB, free: 2.938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/1.191, allocations: 2.594 kB / 1.163 GB, free: 2.938 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.191, allocations: 5.375 kB / 1.163 GB, free: 2.938 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/1.191, allocations: 106 kB / 1.164 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.191, allocations: 5.562 kB / 1.164 GB, free: 2.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006678/1.192, allocations: 93.19 kB / 1.164 GB, free: 2.859 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.435e-05/1.192, allocations: 21.19 kB / 1.164 GB, free: 2.855 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.0002798/1.192, allocations: 201.5 kB / 1.164 GB, free: 2.684 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/1.192, allocations: 53.47 kB / 1.164 GB, free: 2.656 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/1.194, allocations: 0.569 MB / 1.164 GB, free: 2.344 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.194, allocations: 8.375 kB / 1.164 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.194, allocations: 0 / 1.164 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/1.194, allocations: 8.984 kB / 1.164 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/1.196, allocations: 1.378 MB / 1.166 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/1.196, allocations: 12.05 kB / 1.166 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/1.197, allocations: 77.77 kB / 1.166 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/1.197, allocations: 4.125 kB / 1.166 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/1.197, allocations: 14.88 kB / 1.166 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.818e-06/1.197, allocations: 13.67 kB / 1.166 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.197, allocations: 8.125 kB / 1.166 GB, free: 1.309 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/1.198, allocations: 0.9785 MB / 1.167 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/1.199, allocations: 183 kB / 1.167 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/1.199, allocations: 10.91 kB / 1.167 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/1.199, allocations: 47.52 kB / 1.167 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.199, allocations: 56.12 kB / 1.167 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/1.2, allocations: 19.73 kB / 1.167 GB, free: 468 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004787/1.2, allocations: 340.2 kB / 1.168 GB, free: 260 kB / 0.698 GB Notification: Performance of sort global known variables: time 2.21e-07/1.2, allocations: 1.438 kB / 1.168 GB, free: 260 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006327/1.201, allocations: 145.7 kB / 1.168 GB, free: 240 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.0004494/1.201, allocations: 208.2 kB / 1.168 GB, free: 88 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001314/1.202, allocations: 0.608 MB / 1.168 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.202, allocations: 0 / 1.168 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006683/1.203, allocations: 306.6 kB / 1.169 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/1.205, allocations: 268.7 kB / 1.169 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/1.207, allocations: 1.227 MB / 1.17 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/1.207, allocations: 0.8642 MB / 1.171 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005581/1.208, allocations: 134 kB / 1.171 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/1.208, allocations: 39.81 kB / 1.171 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/1.208, allocations: 0 / 1.171 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.01619/1.224, allocations: 10.01 MB / 1.181 GB, free: 8.75 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)