Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.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.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 113.8 kB / 17.09 MB, free: 6.008 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.001193/0.001194, allocations: 190.8 kB / 18.03 MB, free: 5.086 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.329/1.329, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7673/0.7673, allocations: 126.1 MB / 417.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.42 kB / 0.5738 GB, free: 27.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1245, allocations: 78.7 MB / 0.6506 GB, free: 4.102 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5549/0.6794, allocations: 236.4 MB / 0.8814 GB, free: 8.129 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02572/0.7052, allocations: 17.53 MB / 0.8986 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002973/0.7082, allocations: 91.5 kB / 0.8987 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005668/0.7139, allocations: 2.147 MB / 0.9007 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009187/0.7231, allocations: 3.716 MB / 0.9044 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006317/0.7294, allocations: 2.6 MB / 0.9069 GB, free: 13.99 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01153/0.7409, allocations: 7.895 MB / 0.9146 GB, free: 6.086 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003054/0.744, allocations: 1.93 MB / 0.9165 GB, free: 4.109 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.7497, allocations: 2.775 MB / 0.9192 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.7529, allocations: 1.634 MB / 0.9208 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005923/0.7535, allocations: 208 kB / 0.921 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007186/0.7607, allocations: 3.621 MB / 0.9246 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.7619, allocations: 0.8841 MB / 0.9254 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002196/0.7641, allocations: 1.395 MB / 0.9268 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008232/0.7723, allocations: 4.925 MB / 0.9316 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7723, allocations: 0 / 0.9316 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of FrontEnd: time 6.973e-06/0.7724, allocations: 0 / 0.9316 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.574e-05/0.7725, allocations: 3.938 kB / 0.9316 GB, free: 4.625 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.006207/0.7787, allocations: 3.35 MB / 0.9349 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.7787, allocations: 12.03 kB / 0.9349 GB, free: 1.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005517/0.7842, allocations: 0.888 MB / 0.9357 GB, free: 296 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005001/0.7893, allocations: 2.816 MB / 0.9385 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.601e-05/0.7894, allocations: 106.6 kB / 0.9386 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.7897, allocations: 140 kB / 0.9387 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/0.793, allocations: 1.668 MB / 0.9404 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/0.793, allocations: 3.938 kB / 0.9404 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.7931, allocations: 59.98 kB / 0.9404 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-05/0.7932, allocations: 46.52 kB / 0.9405 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003462/0.7967, allocations: 1.446 MB / 0.9419 GB, free: 9.852 MB / 0.7012 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.01142/0.8081, allocations: 8.141 MB / 0.9498 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/0.8108, allocations: 1.561 MB / 0.9513 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.812, allocations: 0.5231 MB / 0.9519 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.8133, allocations: 0.7747 MB / 0.9526 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00121/0.8145, allocations: 0.5353 MB / 0.9531 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 3.116e-06/0.8145, allocations: 0 / 0.9531 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of matching and sorting (n=82): time 0.004169/0.8187, allocations: 1.623 MB / 0.9547 GB, free: 11.79 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/0.8187, allocations: 60.06 kB / 0.9548 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/0.8217, allocations: 2.156 MB / 0.9569 GB, free: 9.535 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.8218, allocations: 45.7 kB / 0.9569 GB, free: 9.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008802/0.8227, allocations: 1.076 MB / 0.958 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.8229, allocations: 317.4 kB / 0.9583 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004584/0.8234, allocations: 314.8 kB / 0.9586 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.8235, allocations: 305.1 kB / 0.9589 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.8248, allocations: 0.6235 MB / 0.9595 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.8263, allocations: 1.003 MB / 0.9605 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/0.829, allocations: 1.559 MB / 0.962 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.829, allocations: 0 / 0.962 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003509/0.8325, allocations: 1.914 MB / 0.9639 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.8326, allocations: 37.69 kB / 0.9639 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.8326, allocations: 12 kB / 0.9639 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.083e-05/0.8326, allocations: 16.81 kB / 0.9639 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.834, allocations: 323.5 kB / 0.9642 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.713e-05/0.834, allocations: 23.92 kB / 0.9642 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/0.8355, allocations: 186.9 kB / 0.9644 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.8356, allocations: 59.98 kB / 0.9645 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00193/0.8376, allocations: 1.108 MB / 0.9656 GB, free: 312 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001517/0.8391, allocations: 1.007 MB / 0.9665 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00259/0.8417, allocations: 1.554 MB / 0.9681 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.019e-06/0.8417, allocations: 0 / 0.9681 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003495/0.8452, allocations: 1.91 MB / 0.9699 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/0.8452, allocations: 45.72 kB / 0.97 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.8453, allocations: 8 kB / 0.97 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.8453, allocations: 16 kB / 0.97 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.8466, allocations: 323.5 kB / 0.9703 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/0.8466, allocations: 23.92 kB / 0.9703 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.8481, allocations: 163.5 kB / 0.9705 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.8483, allocations: 59.98 kB / 0.9705 GB, free: 10.89 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0002762/0.8486, allocations: 259.8 kB / 0.9708 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.8489, allocations: 226.5 kB / 0.971 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002787/0.8517, allocations: 1.19 MB / 0.9722 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00229/0.854, allocations: 1.235 MB / 0.9734 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.854, allocations: 4 kB / 0.9734 GB, free: 7.883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006744/0.8547, allocations: 415.3 kB / 0.9738 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002993/0.855, allocations: 16 kB / 0.9738 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.8561, allocations: 81.75 kB / 0.9739 GB, free: 7.363 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.8562, allocations: 52.92 kB / 0.9739 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003229/0.8595, allocations: 1.193 MB / 0.9751 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00357/0.8631, allocations: 1.825 MB / 0.9769 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001002/0.8641, allocations: 479.7 kB / 0.9773 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002065/0.8661, allocations: 1.441 MB / 0.9787 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of Backend: time 4.81e-07/0.8662, allocations: 0 / 0.9787 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006883/0.873, allocations: 3.126 MB / 0.9818 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of SimCode: time 0.008325/0.8814, allocations: 5.171 MB / 0.9868 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of Templates: time 0.07781/0.9592, allocations: 50.64 MB / 1.036 GB, free: 7.922 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)