Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002142, allocations: 193 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 222 MB, free: 4.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 251.7 MB / 0.5088 GB, free: 3.262 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 68.45 kB / 0.6216 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6021/0.6035, allocations: 104.7 MB / 0.7238 GB, free: 13.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2151/0.8187, allocations: 179.7 MB / 0.8993 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007122/0.8259, allocations: 4.567 MB / 0.9038 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008568/0.8268, allocations: 15.88 kB / 0.9038 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008025/0.8276, allocations: 190.7 kB / 0.904 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.8299, allocations: 0.7195 MB / 0.9047 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.8341, allocations: 1.401 MB / 0.9061 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002084/0.8361, allocations: 1.687 MB / 0.9077 GB, free: 368 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5866/1.423, allocations: 376 kB / 0.9081 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/1.425, allocations: 0.5193 MB / 0.9086 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007202/1.425, allocations: 426.5 kB / 0.909 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/1.426, allocations: 29.66 kB / 0.909 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/1.43, allocations: 1.806 MB / 0.9108 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003703/1.431, allocations: 178.2 kB / 0.9109 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004889/1.431, allocations: 289 kB / 0.9112 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003121/1.434, allocations: 1.387 MB / 0.9126 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/1.434, allocations: 4.719 kB / 0.9126 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/1.434, allocations: 3.281 kB / 0.9126 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.094e-05/1.434, allocations: 0 / 0.9126 GB, free: 3.105 MB / 0.7169 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.002389/1.437, allocations: 1.02 MB / 0.9136 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.437, allocations: 9.031 kB / 0.9136 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/1.439, allocations: 284.8 kB / 0.9139 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/1.44, allocations: 443.2 kB / 0.9143 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.278e-05/1.44, allocations: 33.47 kB / 0.9143 GB, free: 18.19 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.446e-05/1.44, allocations: 48.23 kB / 0.9144 GB, free: 18.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/1.441, allocations: 0.5446 MB / 0.9149 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/1.441, allocations: 3.938 kB / 0.9149 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.478e-05/1.441, allocations: 19.17 kB / 0.9149 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/1.441, allocations: 12.53 kB / 0.9149 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/1.443, allocations: 455.7 kB / 0.9154 GB, free: 18.07 MB / 0.7325 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.002833/1.445, allocations: 2.126 MB / 0.9174 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/1.447, allocations: 403.4 kB / 0.9178 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/1.447, allocations: 231.2 kB / 0.918 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007438/1.448, allocations: 402 kB / 0.9184 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006913/1.449, allocations: 296.4 kB / 0.9187 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=37): time 2.966e-06/1.449, allocations: 0.75 kB / 0.9187 GB, free: 16.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=37): time 0.002101/1.451, allocations: 0.6825 MB / 0.9194 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/1.451, allocations: 58.28 kB / 0.9194 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008264/1.452, allocations: 497.8 kB / 0.9199 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.283e-05/1.452, allocations: 36.86 kB / 0.9199 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002304/1.452, allocations: 263.2 kB / 0.9202 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/1.452, allocations: 121.2 kB / 0.9203 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/1.452, allocations: 94.17 kB / 0.9204 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002106/1.452, allocations: 363.6 kB / 0.9207 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/1.453, allocations: 198.2 kB / 0.9209 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/1.454, allocations: 312.6 kB / 0.9212 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/1.455, allocations: 0.5411 MB / 0.9218 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.455, allocations: 6.016 kB / 0.9218 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001252/1.456, allocations: 0.6434 MB / 0.9224 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/1.456, allocations: 61.84 kB / 0.9225 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/1.456, allocations: 5.625 kB / 0.9225 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.456, allocations: 4.125 kB / 0.9225 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/1.457, allocations: 97.02 kB / 0.9226 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.457, allocations: 12.91 kB / 0.9226 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/1.457, allocations: 87.03 kB / 0.9227 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/1.457, allocations: 28.11 kB / 0.9227 GB, free: 15 MB / 0.7325 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 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002514/1.458, allocations: 190.4 kB / 0.9229 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/1.458, allocations: 49.12 kB / 0.9229 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/1.459, allocations: 0.5464 MB / 0.9234 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.459, allocations: 2.469 kB / 0.9234 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.459, allocations: 0 / 0.9234 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/1.459, allocations: 3.328 kB / 0.9234 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/1.461, allocations: 1.349 MB / 0.9248 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/1.461, allocations: 3.125 kB / 0.9248 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003695/1.462, allocations: 82.52 kB / 0.9248 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/1.462, allocations: 5.734 kB / 0.9249 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/1.462, allocations: 10.97 kB / 0.9249 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/1.462, allocations: 11.73 kB / 0.9249 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.462, allocations: 3.125 kB / 0.9249 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/1.463, allocations: 0.9405 MB / 0.9258 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/1.463, allocations: 175 kB / 0.926 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/1.464, allocations: 14.34 kB / 0.926 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004375/1.464, allocations: 38.86 kB / 0.926 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.464, allocations: 53.12 kB / 0.9261 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.192e-05/1.464, allocations: 18.03 kB / 0.9261 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003524/1.465, allocations: 347.7 kB / 0.9264 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.465, allocations: 0 / 0.9264 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006381/1.465, allocations: 150.8 kB / 0.9266 GB, free: 13.82 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004648/1.466, allocations: 192.4 kB / 0.9267 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001173/1.467, allocations: 0.5742 MB / 0.9273 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.467, allocations: 2.75 kB / 0.9273 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000607/1.467, allocations: 293.8 kB / 0.9276 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.469, allocations: 273.2 kB / 0.9278 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/1.47, allocations: 1.218 MB / 0.929 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/1.471, allocations: 0.8669 MB / 0.9299 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004944/1.471, allocations: 130.4 kB / 0.93 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/1.472, allocations: 39.28 kB / 0.93 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of SimCode: time 4.51e-07/1.472, allocations: 1.094 kB / 0.93 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.0162/1.488, allocations: 10.21 MB / 0.94 GB, free: 11.53 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)