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: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.3 MB / 308.1 MB, free: 4.27 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.001312/0.001312, allocations: 190.2 kB / 376.9 MB, free: 1.812 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.553/1.553, allocations: 205 MB / 0.6354 GB, free: 9.777 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.001009/0.001009, allocations: 93.27 kB / 0.748 GB, free: 60.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2947, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.7639/1.059, allocations: 179.6 MB / 1.158 GB, free: 3.754 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.009133/1.068, allocations: 4.471 MB / 1.162 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/1.069, allocations: 20.91 kB / 1.162 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0008547/1.07, allocations: 193 kB / 1.162 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.002571/1.072, allocations: 0.7119 MB / 1.163 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005128/1.078, allocations: 1.398 MB / 1.164 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002518/1.08, allocations: 1.707 MB / 1.166 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007809/1.081, allocations: 377.9 kB / 1.166 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001523/1.082, allocations: 0.5341 MB / 1.167 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008082/1.083, allocations: 422.1 kB / 1.167 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.814e-05/1.083, allocations: 30.69 kB / 1.167 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/1.088, allocations: 1.806 MB / 1.169 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003169/1.088, allocations: 178.6 kB / 1.169 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005161/1.089, allocations: 286.8 kB / 1.169 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003589/1.093, allocations: 1.393 MB / 1.171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.093, allocations: 0 / 1.171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.427e-06/1.093, allocations: 2.906 kB / 1.171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.162e-05/1.093, allocations: 0 / 1.171 GB, free: 12.84 MB / 0.7761 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.002873/1.095, allocations: 1.021 MB / 1.172 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.096, allocations: 9.188 kB / 1.172 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/1.099, allocations: 287.3 kB / 1.172 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/1.1, allocations: 443.3 kB / 1.172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/1.1, allocations: 36.52 kB / 1.172 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/1.1, allocations: 47.34 kB / 1.173 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/1.102, allocations: 0.5476 MB / 1.173 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/1.102, allocations: 0 / 1.173 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.031e-05/1.102, allocations: 15.66 kB / 1.173 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.708e-05/1.102, allocations: 13.69 kB / 1.173 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001589/1.104, allocations: 458.5 kB / 1.174 GB, free: 11.25 MB / 0.7761 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.003921/1.107, allocations: 2.119 MB / 1.176 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/1.109, allocations: 397.9 kB / 1.176 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007432/1.11, allocations: 235 kB / 1.176 GB, free: 9.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009473/1.111, allocations: 399.1 kB / 1.177 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009017/1.112, allocations: 297.5 kB / 1.177 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=37): time 4.769e-06/1.112, allocations: 0 / 1.177 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37): time 0.002757/1.114, allocations: 0.6847 MB / 1.178 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/1.114, allocations: 62.05 kB / 1.178 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000816/1.115, allocations: 496.4 kB / 1.178 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.071e-05/1.115, allocations: 40.8 kB / 1.178 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/1.116, allocations: 256.6 kB / 1.178 GB, free: 8.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/1.116, allocations: 125.1 kB / 1.178 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/1.116, allocations: 89.33 kB / 1.179 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001836/1.116, allocations: 364.3 kB / 1.179 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/1.117, allocations: 195 kB / 1.179 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008769/1.118, allocations: 320.2 kB / 1.179 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001573/1.119, allocations: 0.5459 MB / 1.18 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/1.119, allocations: 4 kB / 1.18 GB, free: 7.211 MB / 0.7761 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.002033/1.122, allocations: 0.6487 MB / 1.181 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/1.122, allocations: 69.5 kB / 1.181 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.122, allocations: 3.562 kB / 1.181 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/1.122, allocations: 5.844 kB / 1.181 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/1.122, allocations: 96.42 kB / 1.181 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.122, allocations: 3.344 kB / 1.181 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009562/1.123, allocations: 89.53 kB / 1.181 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/1.123, allocations: 23.95 kB / 1.181 GB, free: 6.812 MB / 0.7761 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.0003884/1.124, allocations: 189.4 kB / 1.181 GB, free: 6.656 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/1.124, allocations: 59.03 kB / 1.181 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/1.126, allocations: 0.5385 MB / 1.182 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.126, allocations: 2.938 kB / 1.182 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/1.126, allocations: 2.844 kB / 1.182 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/1.126, allocations: 3.562 kB / 1.182 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003508/1.13, allocations: 1.346 MB / 1.183 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.894e-06/1.13, allocations: 3.031 kB / 1.183 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000614/1.13, allocations: 80.38 kB / 1.183 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.129e-05/1.13, allocations: 6.5 kB / 1.183 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.953e-05/1.13, allocations: 15.36 kB / 1.183 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/1.13, allocations: 13.55 kB / 1.183 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.13, allocations: 3.281 kB / 1.183 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0178/1.148, allocations: 4.51 MB / 1.187 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/1.148, allocations: 168.7 kB / 1.188 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.149, allocations: 13.77 kB / 1.188 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007368/1.149, allocations: 47.23 kB / 1.188 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.15, allocations: 44.72 kB / 1.188 GB, free: 3.082 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/1.15, allocations: 19.7 kB / 1.188 GB, free: 3.078 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0006286/1.15, allocations: 352 kB / 1.188 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3e-07/1.15, allocations: 0 / 1.188 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00134/1.152, allocations: 216.7 kB / 1.188 GB, free: 2.887 MB / 0.7761 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.0006719/1.152, allocations: 198.7 kB / 1.188 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002015/1.154, allocations: 0.5757 MB / 1.189 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.154, allocations: 0 / 1.189 GB, free: 2.508 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.155, allocations: 294.8 kB / 1.189 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002632/1.158, allocations: 268.6 kB / 1.19 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004042/1.162, allocations: 1.462 MB / 1.191 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008383/1.163, allocations: 0.8767 MB / 1.192 GB, free: 0.6172 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001104/1.164, allocations: 127.4 kB / 1.192 GB, free: 0.5859 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/1.164, allocations: 44.5 kB / 1.192 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of SimCode: time 1.342e-06/1.164, allocations: 0 / 1.192 GB, free: 0.5781 MB / 0.7761 GB Notification: Performance of Templates: time 0.03305/1.198, allocations: 10.81 MB / 1.203 GB, free: 15.89 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)