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.001227/0.001227, allocations: 99.45 kB / 16.26 MB, free: 5.934 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.001243/0.001243, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7648/0.7648, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 0.4911 GB, free: 7.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3659, allocations: 77.93 MB / 0.5672 GB, free: 33.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.203/0.5688, allocations: 181.8 MB / 0.7447 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006058/0.575, allocations: 4.446 MB / 0.749 GB, free: 116 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00059/0.5756, allocations: 23.88 kB / 0.7491 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.378/0.9537, allocations: 245.1 kB / 0.7493 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.956, allocations: 0.7517 MB / 0.75 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.9603, allocations: 1.503 MB / 0.7515 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002153/0.9625, allocations: 1.26 MB / 0.7527 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008153/0.9633, allocations: 447 kB / 0.7532 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.9646, allocations: 0.5713 MB / 0.7537 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006579/0.9653, allocations: 408 kB / 0.7541 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.9654, allocations: 46.34 kB / 0.7541 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003435/0.9689, allocations: 1.541 MB / 0.7557 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.9692, allocations: 189.6 kB / 0.7558 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005192/0.9697, allocations: 302.2 kB / 0.7561 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.9724, allocations: 1.299 MB / 0.7574 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9724, allocations: 0.9062 kB / 0.7574 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.9724, allocations: 0.75 kB / 0.7574 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.9725, allocations: 0.8438 kB / 0.7574 GB, free: 1.676 MB / 0.5762 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.002051/0.9745, allocations: 1.013 MB / 0.7584 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9746, allocations: 9.5 kB / 0.7584 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/0.9767, allocations: 282.9 kB / 0.7587 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.9775, allocations: 446.9 kB / 0.7591 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.9776, allocations: 31.47 kB / 0.7591 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.722e-05/0.9777, allocations: 43.67 kB / 0.7592 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.9788, allocations: 0.5493 MB / 0.7597 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.9788, allocations: 2.156 kB / 0.7597 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.9789, allocations: 17.59 kB / 0.7597 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.9789, allocations: 14.06 kB / 0.7597 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.9801, allocations: 457.6 kB / 0.7602 GB, free: 16.62 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.002557/0.9826, allocations: 2.128 MB / 0.7622 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009559/0.9836, allocations: 423.7 kB / 0.7626 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.9841, allocations: 224 kB / 0.7629 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006752/0.9848, allocations: 400 kB / 0.7632 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006503/0.9854, allocations: 294.4 kB / 0.7635 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 3.006e-06/0.9854, allocations: 0.6562 kB / 0.7635 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001853/0.9873, allocations: 0.6872 MB / 0.7642 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.9874, allocations: 57.59 kB / 0.7642 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006026/0.988, allocations: 0.4898 MB / 0.7647 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.988, allocations: 36.86 kB / 0.7648 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.9882, allocations: 256.9 kB / 0.765 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.235e-05/0.9883, allocations: 120 kB / 0.7651 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.9885, allocations: 93.48 kB / 0.7652 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.9886, allocations: 371.2 kB / 0.7656 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.9891, allocations: 196.9 kB / 0.7658 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/0.9896, allocations: 320.1 kB / 0.7661 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.9906, allocations: 0.5426 MB / 0.7666 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.9907, allocations: 5.5 kB / 0.7666 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001309/0.992, allocations: 0.6497 MB / 0.7672 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/0.992, allocations: 62.31 kB / 0.7673 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9921, allocations: 3.875 kB / 0.7673 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.9921, allocations: 5.281 kB / 0.7673 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.9926, allocations: 95.7 kB / 0.7674 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.9926, allocations: 7.656 kB / 0.7674 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005881/0.9932, allocations: 80.94 kB / 0.7675 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.9932, allocations: 20.53 kB / 0.7675 GB, free: 13.58 MB / 0.5919 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.0002522/0.9935, allocations: 203.5 kB / 0.7677 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/0.9936, allocations: 61.81 kB / 0.7677 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.9949, allocations: 0.5368 MB / 0.7683 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.9949, allocations: 4.281 kB / 0.7683 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9949, allocations: 0.8438 kB / 0.7683 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.9949, allocations: 2.953 kB / 0.7683 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.9971, allocations: 1.348 MB / 0.7696 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.323e-06/0.9972, allocations: 10.56 kB / 0.7696 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.9976, allocations: 72.66 kB / 0.7697 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.9976, allocations: 5.906 kB / 0.7697 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.9976, allocations: 14 kB / 0.7697 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.9977, allocations: 9 kB / 0.7697 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.9977, allocations: 3.969 kB / 0.7697 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.9994, allocations: 0.937 MB / 0.7706 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/0.9996, allocations: 175.8 kB / 0.7708 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.9997, allocations: 10.25 kB / 0.7708 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/1, allocations: 37.72 kB / 0.7708 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/1, allocations: 49.59 kB / 0.7709 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/1, allocations: 17.11 kB / 0.7709 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00052/1.001, allocations: 349.7 kB / 0.7712 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.001, allocations: 0.9375 kB / 0.7712 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007519/1.002, allocations: 146.3 kB / 0.7714 GB, free: 12.43 MB / 0.5919 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.0005011/1.002, allocations: 210 kB / 0.7716 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001172/1.003, allocations: 0.5954 MB / 0.7722 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.003, allocations: 3 kB / 0.7722 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/1.004, allocations: 290.5 kB / 0.7724 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.005, allocations: 282 kB / 0.7727 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/1.007, allocations: 1.048 MB / 0.7737 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/1.007, allocations: 0.8658 MB / 0.7746 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005198/1.008, allocations: 127.5 kB / 0.7747 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/1.008, allocations: 46.72 kB / 0.7747 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/1.008, allocations: 0 / 0.7747 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.01839/1.027, allocations: 10.77 MB / 0.7853 GB, free: 10.43 MB / 0.5919 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)