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.001105/0.001105, allocations: 88.78 kB / 16.67 MB, free: 6.594 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.001383/0.001383, allocations: 184 kB / 17.58 MB, free: 6.188 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.371/1.371, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7693/0.7693, allocations: 115.5 MB / 408.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4226, allocations: 77.52 MB / 0.5606 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2095/0.6321, allocations: 177.2 MB / 0.7336 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006595/0.6388, allocations: 4.425 MB / 0.7379 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006216/0.6394, allocations: 19.81 kB / 0.7379 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.6402, allocations: 186.8 kB / 0.7381 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.6421, allocations: 0.7156 MB / 0.7388 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003508/0.6456, allocations: 1.401 MB / 0.7402 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00181/0.6475, allocations: 1.691 MB / 0.7418 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005685/0.648, allocations: 369.7 kB / 0.7422 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009462/0.649, allocations: 0.5174 MB / 0.7427 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.6495, allocations: 410.3 kB / 0.7431 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.386e-05/0.6496, allocations: 28 kB / 0.7431 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.6525, allocations: 1.808 MB / 0.7449 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.6527, allocations: 171.4 kB / 0.745 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003155/0.653, allocations: 308.2 kB / 0.7453 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.6542, allocations: 0.8926 MB / 0.7462 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6543, allocations: 0 / 0.7462 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6543, allocations: 0 / 0.7462 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.6543, allocations: 0 / 0.7462 GB, free: 4.688 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.001652/0.6559, allocations: 0.9318 MB / 0.7471 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.656, allocations: 11.97 kB / 0.7471 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.658, allocations: 290.9 kB / 0.7474 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.6587, allocations: 441.5 kB / 0.7478 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.6587, allocations: 33 kB / 0.7479 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.014e-05/0.6588, allocations: 40 kB / 0.7479 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.6599, allocations: 0.5701 MB / 0.7485 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.6599, allocations: 3.984 kB / 0.7485 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.6599, allocations: 19.94 kB / 0.7485 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.66, allocations: 12 kB / 0.7485 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.6611, allocations: 491.5 kB / 0.749 GB, free: 1.73 MB / 0.5762 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.3278/0.9889, allocations: 2.124 MB / 0.751 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.9902, allocations: 435.4 kB / 0.7514 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/0.991, allocations: 248.2 kB / 0.7517 GB, free: 175.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007721/0.9918, allocations: 410.5 kB / 0.7521 GB, free: 174.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009155/0.9927, allocations: 312.8 kB / 0.7524 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=37): time 3.396e-06/0.9927, allocations: 0 / 0.7524 GB, free: 174.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=37): time 0.002195/0.9949, allocations: 0.7357 MB / 0.7531 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.9949, allocations: 58.41 kB / 0.7531 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.9956, allocations: 495.2 kB / 0.7536 GB, free: 174.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.9957, allocations: 37.73 kB / 0.7537 GB, free: 174.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.9959, allocations: 264 kB / 0.7539 GB, free: 174.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.996, allocations: 120.4 kB / 0.754 GB, free: 174 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.463e-05/0.9961, allocations: 45.8 kB / 0.7541 GB, free: 174 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.9962, allocations: 365.8 kB / 0.7544 GB, free: 173.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/0.9968, allocations: 211.2 kB / 0.7546 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.9974, allocations: 333 kB / 0.7549 GB, free: 173.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.9986, allocations: 0.5787 MB / 0.7555 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.9986, allocations: 1.688 kB / 0.7555 GB, free: 173.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001546/1, allocations: 0.6801 MB / 0.7562 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/1, allocations: 65.41 kB / 0.7562 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1, allocations: 3.281 kB / 0.7562 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.68e-05/1, allocations: 6.422 kB / 0.7562 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/1.001, allocations: 107.9 kB / 0.7563 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/1.001, allocations: 5.25 kB / 0.7563 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/1.001, allocations: 97.62 kB / 0.7564 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/1.002, allocations: 23.66 kB / 0.7565 GB, free: 172.8 MB / 0.5762 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.000243/1.002, allocations: 192.9 kB / 0.7566 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.904e-05/1.002, allocations: 55.05 kB / 0.7567 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/1.003, allocations: 0.5676 MB / 0.7573 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.003, allocations: 4.969 kB / 0.7573 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.003, allocations: 1.094 kB / 0.7573 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/1.003, allocations: 5.609 kB / 0.7573 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002396/1.006, allocations: 1.385 MB / 0.7586 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/1.006, allocations: 9.281 kB / 0.7586 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004223/1.006, allocations: 84.8 kB / 0.7587 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/1.006, allocations: 5.312 kB / 0.7587 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/1.006, allocations: 13.64 kB / 0.7587 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/1.006, allocations: 9.297 kB / 0.7587 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.006, allocations: 6.406 kB / 0.7587 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/1.008, allocations: 0.9777 MB / 0.7597 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002227/1.008, allocations: 174.4 kB / 0.7599 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.959e-05/1.008, allocations: 11.12 kB / 0.7599 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004876/1.009, allocations: 57.03 kB / 0.7599 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/1.009, allocations: 50.7 kB / 0.76 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/1.009, allocations: 12.75 kB / 0.76 GB, free: 171 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000482/1.01, allocations: 350 kB / 0.7603 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.51e-07/1.01, allocations: 0 / 0.7603 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006861/1.01, allocations: 151.7 kB / 0.7605 GB, free: 170.8 MB / 0.5762 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.0005337/1.011, allocations: 208.9 kB / 0.7607 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00134/1.012, allocations: 0.6038 MB / 0.7613 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.012, allocations: 4.844 kB / 0.7613 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/1.013, allocations: 282.5 kB / 0.7615 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.015, allocations: 272 kB / 0.7618 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001973/1.017, allocations: 1.292 MB / 0.763 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/1.017, allocations: 0.8666 MB / 0.7639 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/1.017, allocations: 44.03 kB / 0.7639 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of SimCode: time 4.3e-07/1.017, allocations: 3.938 kB / 0.7639 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.01806/1.035, allocations: 8.945 MB / 0.7727 GB, free: 166.8 MB / 0.5762 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)