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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 201.8 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9667/0.9667, allocations: 149.9 MB / 463.8 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 76.7 kB / 0.6423 GB, free: 9.621 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2036, allocations: 89.16 MB / 0.7294 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7288/0.9324, allocations: 209.9 MB / 0.9344 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03219/0.9646, allocations: 16.42 MB / 0.9504 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003748/0.9683, allocations: 127 kB / 0.9505 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007138/0.9755, allocations: 2.13 MB / 0.9526 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.987, allocations: 3.757 MB / 0.9563 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.007604/0.9946, allocations: 2.661 MB / 0.9589 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01306/1.008, allocations: 7.796 MB / 0.9665 GB, free: 1.887 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003222/1.011, allocations: 1.49 MB / 0.9679 GB, free: 356 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008296/1.019, allocations: 3.387 MB / 0.9712 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004333/1.024, allocations: 1.623 MB / 0.9728 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0006753/1.024, allocations: 196 kB / 0.973 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007488/1.032, allocations: 2.997 MB / 0.9759 GB, free: 8.133 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001466/1.033, allocations: 0.8915 MB / 0.9768 GB, free: 7.238 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002407/1.036, allocations: 1.073 MB / 0.9779 GB, free: 6.16 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01194/1.047, allocations: 4.768 MB / 0.9825 GB, free: 1.375 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/1.047, allocations: 4 kB / 0.9825 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.595e-06/1.048, allocations: 0 / 0.9825 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.849e-05/1.048, allocations: 0 / 0.9825 GB, free: 1.371 MB / 0.7481 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.008143/1.056, allocations: 3.228 MB / 0.9857 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.056, allocations: 12.03 kB / 0.9857 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0224/1.078, allocations: 3.518 MB / 0.9891 GB, free: 10.54 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006168/1.084, allocations: 2.69 MB / 0.9918 GB, free: 7.777 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/1.084, allocations: 106.6 kB / 0.9919 GB, free: 7.672 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/1.085, allocations: 140 kB / 0.992 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/1.095, allocations: 2.963 MB / 0.9949 GB, free: 4.449 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.189e-05/1.095, allocations: 7.938 kB / 0.9949 GB, free: 4.441 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001802/1.096, allocations: 56.88 kB / 0.9949 GB, free: 4.387 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.909e-05/1.096, allocations: 46.48 kB / 0.995 GB, free: 4.34 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/1.112, allocations: 3.585 MB / 0.9985 GB, free: 0.7461 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 preOpt removeSimpleEquations (simulation): time 0.02715/1.139, allocations: 8.876 MB / 1.007 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009057/1.148, allocations: 2.13 MB / 1.009 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007362/1.155, allocations: 1.595 MB / 1.011 GB, free: 3.766 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000526/1.156, allocations: 88.56 kB / 1.011 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007868/1.164, allocations: 1.845 MB / 1.013 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=80): time 3.938e-06/1.164, allocations: 4 kB / 1.013 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=80): time 0.02327/1.187, allocations: 4.759 MB / 1.017 GB, free: 13.01 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/1.187, allocations: 60.06 kB / 1.017 GB, free: 12.94 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003553/1.191, allocations: 2.134 MB / 1.019 GB, free: 10.78 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002755/1.191, allocations: 41.7 kB / 1.02 GB, free: 10.73 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001091/1.192, allocations: 1.075 MB / 1.021 GB, free: 9.641 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004082/1.192, allocations: 305.5 kB / 1.021 GB, free: 9.34 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005533/1.193, allocations: 322.7 kB / 1.021 GB, free: 9.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001338/1.193, allocations: 309.1 kB / 1.021 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007688/1.201, allocations: 1.753 MB / 1.023 GB, free: 6.949 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00815/1.209, allocations: 2.377 MB / 1.025 GB, free: 4.355 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/1.224, allocations: 3.489 MB / 1.029 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.237e-05/1.224, allocations: 4 kB / 1.029 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01698/1.241, allocations: 4.029 MB / 1.033 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.09e-05/1.241, allocations: 39.52 kB / 1.033 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/1.241, allocations: 11.94 kB / 1.033 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.969e-05/1.241, allocations: 16 kB / 1.033 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004896/1.246, allocations: 0.8124 MB / 1.034 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.7e-05/1.246, allocations: 20.81 kB / 1.034 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005559/1.251, allocations: 0.6742 MB / 1.034 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003933/1.252, allocations: 63.97 kB / 1.034 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009869/1.262, allocations: 2.242 MB / 1.037 GB, free: 8.785 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008578/1.27, allocations: 2.361 MB / 1.039 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01489/1.285, allocations: 3.495 MB / 1.042 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.44e-05/1.285, allocations: 4 kB / 1.042 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.01732/1.302, allocations: 4.035 MB / 1.046 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/1.302, allocations: 34.64 kB / 1.046 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/1.302, allocations: 8 kB / 1.046 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/1.303, allocations: 19.98 kB / 1.046 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004822/1.307, allocations: 0.8083 MB / 1.047 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.948e-05/1.307, allocations: 27.91 kB / 1.047 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005412/1.313, allocations: 0.651 MB / 1.048 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/1.313, allocations: 67.97 kB / 1.048 GB, free: 12.89 MB / 0.8262 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.0006396/1.314, allocations: 258.6 kB / 1.048 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007181/1.315, allocations: 218.5 kB / 1.048 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/1.331, allocations: 3.33 MB / 1.052 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/1.331, allocations: 8 kB / 1.052 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/1.331, allocations: 3.938 kB / 1.052 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01507/1.346, allocations: 3.326 MB / 1.055 GB, free: 5.648 MB / 0.8262 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.02069/1.366, allocations: 5.198 MB / 1.06 GB, free: 328 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/1.366, allocations: 4 kB / 1.06 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00436/1.371, allocations: 0.679 MB / 1.061 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/1.371, allocations: 48.83 kB / 1.061 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/1.371, allocations: 23.97 kB / 1.061 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/1.373, allocations: 1.405 MB / 1.062 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.373, allocations: 4 kB / 1.062 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02292/1.396, allocations: 5.076 MB / 1.067 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.397, allocations: 386.2 kB / 1.067 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006922/1.398, allocations: 16 kB / 1.067 GB, free: 8.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004834/1.403, allocations: 0.5719 MB / 1.068 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/1.403, allocations: 60.48 kB / 1.068 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.403, allocations: 47.14 kB / 1.068 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.003253/1.407, allocations: 1.405 MB / 1.069 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/1.407, allocations: 0 / 1.069 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.004084/1.411, allocations: 1.146 MB / 1.071 GB, free: 5.305 MB / 0.8419 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.002683/1.413, allocations: 0.7324 MB / 1.071 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02462/1.438, allocations: 5.54 MB / 1.077 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.736e-06/1.438, allocations: 0 / 1.077 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.008044/1.446, allocations: 1.709 MB / 1.078 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005517/1.452, allocations: 1.011 MB / 1.079 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5746/2.026, allocations: 31.52 MB / 1.11 GB, free: 309.3 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/2.027, allocations: 1.078 MB / 1.111 GB, free: 309.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/2.028, allocations: 188.4 kB / 1.111 GB, free: 309.1 MB / 0.8575 GB Notification: Performance of SimCode: time 1.252e-06/2.028, allocations: 3.844 kB / 1.111 GB, free: 309.1 MB / 0.8575 GB Notification: Performance of Templates: time 0.05997/2.088, allocations: 44.53 MB / 1.155 GB, free: 278.9 MB / 0.8575 GB " [Timeout remaining time 658] 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] [Calling sys.exit(0), Time elapsed: 18.673395282123238] Failed to read output from testmodel.py, exit status != 0: 2.0984261529520154 2.107343613 1.057321521 Calling exit ...