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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 112 kB / 17.33 MB, free: 5.043 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.001472/0.001472, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.476/1.476, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8967/0.8967, allocations: 128.4 MB / 426.1 MB, free: 7.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 74.19 kB / 0.5912 GB, free: 21.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1809, allocations: 83.25 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6331/0.814, allocations: 182.4 MB / 0.8506 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007359/0.8214, allocations: 4.464 MB / 0.855 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006797/0.8221, allocations: 24.12 kB / 0.855 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0007819/0.8229, allocations: 258.7 kB / 0.8553 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.825, allocations: 0.7842 MB / 0.856 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004807/0.8298, allocations: 1.558 MB / 0.8575 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002408/0.8322, allocations: 1.249 MB / 0.8588 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007442/0.833, allocations: 391.8 kB / 0.8591 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.8352, allocations: 0.8179 MB / 0.8599 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006648/0.8358, allocations: 419.1 kB / 0.8603 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.8359, allocations: 45.19 kB / 0.8604 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/0.8397, allocations: 1.629 MB / 0.862 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.84, allocations: 192.7 kB / 0.8622 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.8404, allocations: 304 kB / 0.8624 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002964/0.8434, allocations: 1.307 MB / 0.8637 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8434, allocations: 0 / 0.8637 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8434, allocations: 0 / 0.8637 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.8434, allocations: 0 / 0.8637 GB, free: 7.977 MB / 0.6231 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.002171/0.8456, allocations: 1.042 MB / 0.8647 GB, free: 7.059 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.8456, allocations: 12.03 kB / 0.8648 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.8479, allocations: 283.3 kB / 0.865 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009307/0.8488, allocations: 477.8 kB / 0.8655 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.865e-05/0.8489, allocations: 33 kB / 0.8655 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.464e-05/0.849, allocations: 44 kB / 0.8656 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.8505, allocations: 0.5468 MB / 0.8661 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.8505, allocations: 8.5 kB / 0.8661 GB, free: 5.594 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.8505, allocations: 19.94 kB / 0.8661 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.8505, allocations: 8 kB / 0.8661 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.8517, allocations: 459.6 kB / 0.8666 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003287/0.855, allocations: 2.108 MB / 0.8686 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.856, allocations: 403 kB / 0.869 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/0.8565, allocations: 208.7 kB / 0.8692 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/0.8574, allocations: 404.3 kB / 0.8696 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007102/0.8581, allocations: 296.6 kB / 0.8699 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=37): time 3.236e-06/0.8581, allocations: 3.938 kB / 0.8699 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37): time 0.001992/0.8601, allocations: 0.6877 MB / 0.8705 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.8602, allocations: 55.41 kB / 0.8706 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006974/0.8609, allocations: 498 kB / 0.8711 GB, free: 240 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.8609, allocations: 37.7 kB / 0.8711 GB, free: 196 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.8612, allocations: 260.5 kB / 0.8714 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.8613, allocations: 130.9 kB / 0.8715 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/0.8615, allocations: 98.08 kB / 0.8716 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.8617, allocations: 366.8 kB / 0.8719 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005087/0.8622, allocations: 192.8 kB / 0.8721 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.8628, allocations: 320 kB / 0.8724 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.8639, allocations: 0.541 MB / 0.8729 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8639, allocations: 0 / 0.8729 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00142/0.8653, allocations: 0.6408 MB / 0.8736 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.139e-05/0.8654, allocations: 63.39 kB / 0.8736 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.8654, allocations: 4.375 kB / 0.8736 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.8654, allocations: 8 kB / 0.8736 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004901/0.8659, allocations: 99.81 kB / 0.8737 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.027e-05/0.8659, allocations: 7.375 kB / 0.8737 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005777/0.8665, allocations: 79.58 kB / 0.8738 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.165e-05/0.8666, allocations: 23.98 kB / 0.8738 GB, free: 13.25 MB / 0.6387 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.0002984/0.8669, allocations: 203.2 kB / 0.874 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.236e-05/0.867, allocations: 59.62 kB / 0.8741 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.8682, allocations: 0.5304 MB / 0.8746 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.8682, allocations: 4 kB / 0.8746 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8683, allocations: 0 / 0.8746 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8683, allocations: 4 kB / 0.8746 GB, free: 12.43 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002664/0.8709, allocations: 1.356 MB / 0.8759 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8709, allocations: 4 kB / 0.8759 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004244/0.8714, allocations: 71.89 kB / 0.876 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.8714, allocations: 8 kB / 0.876 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.8714, allocations: 11.98 kB / 0.876 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.259e-05/0.8714, allocations: 11.94 kB / 0.876 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.8714, allocations: 5.125 kB / 0.876 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.8733, allocations: 0.934 MB / 0.877 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.8736, allocations: 172.7 kB / 0.8771 GB, free: 9.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/0.8737, allocations: 8 kB / 0.8771 GB, free: 9.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004708/0.8741, allocations: 39.95 kB / 0.8772 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.8743, allocations: 51.89 kB / 0.8772 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.8743, allocations: 16 kB / 0.8772 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004756/0.8748, allocations: 346.8 kB / 0.8776 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.8748, allocations: 0 / 0.8776 GB, free: 9.234 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006161/0.8754, allocations: 151.8 kB / 0.8777 GB, free: 9.086 MB / 0.6387 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.0004792/0.8759, allocations: 208.2 kB / 0.8779 GB, free: 8.887 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.8772, allocations: 0.5768 MB / 0.8785 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.8772, allocations: 0 / 0.8785 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007299/0.878, allocations: 279.5 kB / 0.8787 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.8793, allocations: 293.6 kB / 0.879 GB, free: 7.738 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.8813, allocations: 1.056 MB / 0.8801 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.8819, allocations: 0.8704 MB / 0.8809 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004445/0.8824, allocations: 124.7 kB / 0.881 GB, free: 5.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.8825, allocations: 43.44 kB / 0.8811 GB, free: 5.547 MB / 0.6387 GB Notification: Performance of SimCode: time 5.01e-07/0.8825, allocations: 3.938 kB / 0.8811 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of Templates: time 0.02193/0.9044, allocations: 10.98 MB / 0.8918 GB, free: 10.71 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 660] (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) [Timeout 480]