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) [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.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 113.1 kB / 17.33 MB, free: 5.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.001225/0.001225, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.459/1.459, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8167/0.8167, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002761/0.002761, allocations: 76.34 kB / 0.5912 GB, free: 21.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1759, allocations: 83.25 MB / 0.6725 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6735/0.8494, allocations: 237.4 MB / 0.9043 GB, free: 14.5 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03168/0.8811, allocations: 17.59 MB / 0.9214 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004409/0.8855, allocations: 91.5 kB / 0.9215 GB, free: 12.78 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.007403/0.8929, allocations: 2.169 MB / 0.9237 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.904, allocations: 3.707 MB / 0.9273 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007116/0.9111, allocations: 2.619 MB / 0.9298 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01236/0.9234, allocations: 7.696 MB / 0.9373 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002983/0.9264, allocations: 1.583 MB / 0.9389 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007398/0.9338, allocations: 3.013 MB / 0.9418 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003857/0.9377, allocations: 1.692 MB / 0.9435 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005299/0.9382, allocations: 208 kB / 0.9437 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007747/0.946, allocations: 3.746 MB / 0.9473 GB, free: 2.258 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.9473, allocations: 0.9072 MB / 0.9482 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00205/0.9493, allocations: 1.368 MB / 0.9496 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/0.9597, allocations: 4.905 MB / 0.9544 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.9597, allocations: 4 kB / 0.9544 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9597, allocations: 0 / 0.9544 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.341e-05/0.9598, allocations: 3.938 kB / 0.9544 GB, free: 11.04 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.006885/0.9667, allocations: 3.327 MB / 0.9576 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.9667, allocations: 8.031 kB / 0.9576 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005914/0.9726, allocations: 0.8942 MB / 0.9585 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005786/0.9784, allocations: 2.793 MB / 0.9612 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.9785, allocations: 106.6 kB / 0.9613 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00029/0.9788, allocations: 140 kB / 0.9615 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/0.9824, allocations: 1.663 MB / 0.9631 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.9824, allocations: 7.938 kB / 0.9631 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.9826, allocations: 56 kB / 0.9631 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.476e-05/0.9826, allocations: 46.48 kB / 0.9632 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/0.9861, allocations: 1.442 MB / 0.9646 GB, free: 332 kB / 0.7169 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.01326/0.9994, allocations: 8.136 MB / 0.9725 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00319/1.003, allocations: 1.543 MB / 0.974 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/1.004, allocations: 495.6 kB / 0.9745 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001496/1.005, allocations: 0.7748 MB / 0.9753 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/1.007, allocations: 0.5353 MB / 0.9758 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 2.975e-06/1.007, allocations: 3.938 kB / 0.9758 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.004702/1.011, allocations: 1.619 MB / 0.9774 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/1.011, allocations: 60.06 kB / 0.9774 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/1.015, allocations: 2.143 MB / 0.9795 GB, free: 60 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002146/1.015, allocations: 53.69 kB / 0.9796 GB, free: 0 / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.016, allocations: 1.064 MB / 0.9806 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003578/1.016, allocations: 309.3 kB / 0.9809 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/1.017, allocations: 314.8 kB / 0.9812 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.017, allocations: 305.1 kB / 0.9815 GB, free: 14 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/1.018, allocations: 0.6274 MB / 0.9821 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/1.02, allocations: 1.003 MB / 0.9831 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002947/1.023, allocations: 1.547 MB / 0.9846 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/1.023, allocations: 0.7656 kB / 0.9846 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004093/1.027, allocations: 1.907 MB / 0.9865 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/1.027, allocations: 41.69 kB / 0.9865 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.027, allocations: 8 kB / 0.9865 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.821e-05/1.027, allocations: 16 kB / 0.9865 GB, free: 8.543 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.029, allocations: 316.7 kB / 0.9868 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.723e-05/1.029, allocations: 23.92 kB / 0.9869 GB, free: 8.211 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/1.031, allocations: 194.9 kB / 0.987 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.031, allocations: 59.98 kB / 0.9871 GB, free: 7.961 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002343/1.033, allocations: 1.097 MB / 0.9882 GB, free: 6.863 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001834/1.035, allocations: 1.01 MB / 0.9892 GB, free: 5.699 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002928/1.038, allocations: 1.542 MB / 0.9907 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.037e-06/1.038, allocations: 0 / 0.9907 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004286/1.042, allocations: 1.91 MB / 0.9925 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.59e-05/1.042, allocations: 45.64 kB / 0.9926 GB, free: 2.051 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/1.042, allocations: 8 kB / 0.9926 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/1.042, allocations: 17 kB / 0.9926 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.043, allocations: 315.6 kB / 0.9929 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.901e-05/1.043, allocations: 19.94 kB / 0.9929 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.045, allocations: 163.3 kB / 0.9931 GB, free: 1.539 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/1.046, allocations: 59.98 kB / 0.9931 GB, free: 1.48 MB / 0.7481 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 (162): * Single equations (assignments): 159 * 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.0004553/1.046, allocations: 267.8 kB / 0.9934 GB, free: 1.211 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006459/1.047, allocations: 222.5 kB / 0.9936 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003315/1.05, allocations: 1.171 MB / 0.9947 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/1.05, allocations: 11.94 kB / 0.9948 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-06/1.05, allocations: 4 kB / 0.9948 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002517/1.053, allocations: 1.23 MB / 0.996 GB, free: 14.47 MB / 0.7637 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 postOpt removeSimpleEquations (simulation): time 0.007161/1.06, allocations: 3.111 MB / 0.999 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.06, allocations: 0 / 0.999 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.061, allocations: 187.9 kB / 0.9992 GB, free: 11.06 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002377/1.061, allocations: 48.77 kB / 0.9992 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/1.061, allocations: 24.17 kB / 0.9992 GB, free: 10.99 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/1.063, allocations: 1.524 MB / 1.001 GB, free: 9.32 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.063, allocations: 7.938 kB / 1.001 GB, free: 9.312 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004219/1.067, allocations: 1.751 MB / 1.002 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/1.068, allocations: 403.4 kB / 1.003 GB, free: 7.113 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006173/1.069, allocations: 23.98 kB / 1.003 GB, free: 7.09 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/1.07, allocations: 79.27 kB / 1.003 GB, free: 7.016 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001799/1.07, allocations: 64.56 kB / 1.003 GB, free: 6.953 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.555e-05/1.07, allocations: 27.98 kB / 1.003 GB, free: 6.926 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003229/1.074, allocations: 1.429 MB / 1.004 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.2e-07/1.074, allocations: 0 / 1.004 GB, free: 5.484 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003652/1.077, allocations: 1.095 MB / 1.005 GB, free: 4.387 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.motSpe.y,conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002475/1.08, allocations: 0.7401 MB / 1.006 GB, free: 3.781 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005079/1.085, allocations: 2.137 MB / 1.008 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/1.085, allocations: 0 / 1.008 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/1.086, allocations: 0.6004 MB / 1.009 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004941/1.091, allocations: 1.02 MB / 1.01 GB, free: 16 kB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/1.101, allocations: 4.23 MB / 1.014 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002333/1.104, allocations: 1.644 MB / 1.016 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002595/1.106, allocations: 0.5361 MB / 1.016 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006896/1.107, allocations: 163.4 kB / 1.016 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of SimCode: time 1.133e-06/1.107, allocations: 0 / 1.016 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of Templates: time 0.07697/1.184, allocations: 39.7 MB / 1.055 GB, free: 2.113 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T.makefile [Timeout 660] (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) [Timeout 480]