Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001287/0.001287, allocations: 117 kB / 17.09 MB, free: 5.969 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.001089/0.001089, allocations: 196.6 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7397/0.7397, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 74.86 kB / 0.5584 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1512, allocations: 76.18 MB / 0.6328 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.5719/0.7231, allocations: 181.8 MB / 0.8103 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005981/0.7292, allocations: 4.452 MB / 0.8146 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009623/0.7302, allocations: 20.06 kB / 0.8146 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007771/0.7309, allocations: 250 kB / 0.8149 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.7331, allocations: 0.7597 MB / 0.8156 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.7371, allocations: 1.517 MB / 0.8171 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.7389, allocations: 1.259 MB / 0.8183 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007496/0.7396, allocations: 447.4 kB / 0.8187 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001208/0.7409, allocations: 0.5761 MB / 0.8193 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005325/0.7414, allocations: 413.5 kB / 0.8197 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.6e-05/0.7415, allocations: 45.44 kB / 0.8197 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.7444, allocations: 1.544 MB / 0.8212 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.7447, allocations: 185.2 kB / 0.8214 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.745, allocations: 306.2 kB / 0.8217 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.7474, allocations: 1.3 MB / 0.823 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.7475, allocations: 2.906 kB / 0.823 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7475, allocations: 0 / 0.823 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.7475, allocations: 3.938 kB / 0.823 GB, free: 7.289 MB / 0.5919 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.001873/0.7494, allocations: 1.026 MB / 0.824 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.7494, allocations: 10.72 kB / 0.824 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.7515, allocations: 281.8 kB / 0.8243 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007899/0.7523, allocations: 466.9 kB / 0.8247 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.7523, allocations: 34.31 kB / 0.8247 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.044e-05/0.7524, allocations: 42.12 kB / 0.8248 GB, free: 5.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.7535, allocations: 0.5452 MB / 0.8253 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.7535, allocations: 3.188 kB / 0.8253 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.7535, allocations: 14.75 kB / 0.8253 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.7536, allocations: 17.56 kB / 0.8254 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009924/0.7546, allocations: 456.2 kB / 0.8258 GB, free: 5.312 MB / 0.5919 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.002493/0.7571, allocations: 2.122 MB / 0.8279 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.758, allocations: 409.2 kB / 0.8283 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004812/0.7585, allocations: 223 kB / 0.8285 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006836/0.7592, allocations: 400.7 kB / 0.8288 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000625/0.7598, allocations: 288.9 kB / 0.8291 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 3.326e-06/0.7599, allocations: 0 / 0.8291 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001791/0.7617, allocations: 0.6889 MB / 0.8298 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.7617, allocations: 73.14 kB / 0.8299 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005502/0.7623, allocations: 492.6 kB / 0.8303 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.224e-05/0.7623, allocations: 39.08 kB / 0.8304 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.7625, allocations: 255.9 kB / 0.8306 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.7627, allocations: 124.3 kB / 0.8307 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.7628, allocations: 90.44 kB / 0.8308 GB, free: 1.449 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.763, allocations: 363.4 kB / 0.8312 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.7635, allocations: 199.8 kB / 0.8314 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.764, allocations: 314.9 kB / 0.8317 GB, free: 0.7891 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009733/0.765, allocations: 0.5428 MB / 0.8322 GB, free: 420 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.765, allocations: 0 / 0.8322 GB, free: 420 kB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001251/0.7663, allocations: 0.6528 MB / 0.8328 GB, free: 44 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/0.7664, allocations: 62.23 kB / 0.8329 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.7664, allocations: 2.906 kB / 0.8329 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.7664, allocations: 7.281 kB / 0.8329 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.7669, allocations: 94.22 kB / 0.833 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.7669, allocations: 6.031 kB / 0.833 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005478/0.7675, allocations: 83.42 kB / 0.8331 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.7675, allocations: 21.34 kB / 0.8331 GB, free: 15.89 MB / 0.6075 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.0002467/0.7678, allocations: 189 kB / 0.8333 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.7678, allocations: 64.8 kB / 0.8333 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.769, allocations: 0.5369 MB / 0.8339 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7691, allocations: 4.812 kB / 0.8339 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.7691, allocations: 0 / 0.8339 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.7691, allocations: 3.984 kB / 0.8339 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.7712, allocations: 1.35 MB / 0.8352 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.7712, allocations: 4.719 kB / 0.8352 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/0.7717, allocations: 85.47 kB / 0.8353 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.7717, allocations: 4.281 kB / 0.8353 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.4e-05/0.7717, allocations: 16.25 kB / 0.8353 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/0.7717, allocations: 8.453 kB / 0.8353 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.7717, allocations: 6.75 kB / 0.8353 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.7734, allocations: 0.9416 MB / 0.8362 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.7736, allocations: 173.5 kB / 0.8364 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.379e-05/0.7737, allocations: 12.25 kB / 0.8364 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000445/0.7742, allocations: 33.39 kB / 0.8364 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.7743, allocations: 51.92 kB / 0.8365 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.7744, allocations: 12.25 kB / 0.8365 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003986/0.7748, allocations: 352.6 kB / 0.8368 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7748, allocations: 0 / 0.8368 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005892/0.7754, allocations: 152.1 kB / 0.837 GB, free: 13.3 MB / 0.6075 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.000494/0.7759, allocations: 191 kB / 0.8372 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.7771, allocations: 0.5883 MB / 0.8377 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.7771, allocations: 3.938 kB / 0.8377 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.7777, allocations: 270 kB / 0.838 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.7791, allocations: 291.6 kB / 0.8383 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.7809, allocations: 1.071 MB / 0.8393 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.7813, allocations: 0.8588 MB / 0.8402 GB, free: 11 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.7815, allocations: 48.48 kB / 0.8402 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.7815, allocations: 0 / 0.8402 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Templates: time 0.01369/0.7952, allocations: 9.074 MB / 0.8491 GB, free: 3.246 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1)