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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4705/0.4705, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 349.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009505/0.0009506, allocations: 109.6 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 43.92 kB / 0.4891 GB, free: 7.688 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3112, allocations: 70.06 MB / 0.5575 GB, free: 44.74 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5264/0.8376, allocations: 233.7 MB / 0.7857 GB, free: 372 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02431/0.8619, allocations: 15.91 MB / 0.8013 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005229/0.8672, allocations: 81.41 kB / 0.8013 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.004942/0.8722, allocations: 1.142 MB / 0.8024 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.011/0.8832, allocations: 3.178 MB / 0.8056 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.008259/0.8915, allocations: 2.228 MB / 0.8077 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.01068/0.9022, allocations: 6.579 MB / 0.8142 GB, free: 5.207 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004076/0.9063, allocations: 1.655 MB / 0.8158 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007239/0.9136, allocations: 2.438 MB / 0.8181 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004572/0.9182, allocations: 1.607 MB / 0.8197 GB, free: 140 kB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0009487/0.9192, allocations: 108 kB / 0.8198 GB, free: 32 kB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009419/0.9286, allocations: 3.752 MB / 0.8235 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.9303, allocations: 0.6712 MB / 0.8241 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.003343/0.9337, allocations: 1.1 MB / 0.8252 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.9454, allocations: 4.38 MB / 0.8295 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.9455, allocations: 0 / 0.8295 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9455, allocations: 0 / 0.8295 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001526/0.9456, allocations: 0 / 0.8295 GB, free: 7.047 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.008537/0.9542, allocations: 2.828 MB / 0.8323 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.9543, allocations: 12.03 kB / 0.8323 GB, free: 4.16 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005727/0.96, allocations: 0.8551 MB / 0.8331 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004783/0.9648, allocations: 1.699 MB / 0.8348 GB, free: 1.598 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004245/0.9653, allocations: 158.5 kB / 0.8349 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004446/0.9657, allocations: 147.9 kB / 0.8351 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004055/0.9698, allocations: 1.68 MB / 0.8367 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.9698, allocations: 7.938 kB / 0.8367 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.97, allocations: 54.73 kB / 0.8368 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.227e-05/0.9701, allocations: 54.5 kB / 0.8368 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.9739, allocations: 1.497 MB / 0.8383 GB, free: 13.93 MB / 0.5573 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.01265/0.9866, allocations: 7.614 MB / 0.8457 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003057/0.9896, allocations: 1.638 MB / 0.8473 GB, free: 4.059 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.9909, allocations: 0.5535 MB / 0.8478 GB, free: 3.508 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.9922, allocations: 0.7733 MB / 0.8486 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.9937, allocations: 0.5949 MB / 0.8492 GB, free: 1.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000877/0.9946, allocations: 115.2 kB / 0.8493 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=85): time 5.02e-06/0.9946, allocations: 0 / 0.8493 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85): time 0.004561/0.9991, allocations: 1.671 MB / 0.8509 GB, free: 176 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.9992, allocations: 76.27 kB / 0.851 GB, free: 88 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/1.002, allocations: 1.567 MB / 0.8525 GB, free: 14.52 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001324/1.002, allocations: 45.7 kB / 0.8526 GB, free: 14.47 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008897/1.003, allocations: 0.9224 MB / 0.8535 GB, free: 13.54 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/1.003, allocations: 297.1 kB / 0.8538 GB, free: 13.25 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004201/1.004, allocations: 226.6 kB / 0.854 GB, free: 13.03 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.004, allocations: 341.9 kB / 0.8543 GB, free: 12.69 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/1.005, allocations: 485.8 kB / 0.8548 GB, free: 12.21 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/1.006, allocations: 0.8132 MB / 0.8555 GB, free: 11.25 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/1.009, allocations: 1.271 MB / 0.8568 GB, free: 9.855 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/1.009, allocations: 7.938 kB / 0.8568 GB, free: 9.848 MB / 0.573 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003362/1.012, allocations: 1.488 MB / 0.8583 GB, free: 8.344 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/1.012, allocations: 33.7 kB / 0.8583 GB, free: 8.305 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.012, allocations: 12.84 kB / 0.8583 GB, free: 8.293 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/1.012, allocations: 12 kB / 0.8583 GB, free: 8.281 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/1.014, allocations: 283.6 kB / 0.8586 GB, free: 8.004 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.195e-05/1.014, allocations: 19.92 kB / 0.8586 GB, free: 7.984 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/1.015, allocations: 168.4 kB / 0.8588 GB, free: 7.82 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.016, allocations: 51.98 kB / 0.8588 GB, free: 7.77 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001796/1.017, allocations: 0.8343 MB / 0.8596 GB, free: 6.934 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001332/1.019, allocations: 0.7976 MB / 0.8604 GB, free: 5.988 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002423/1.021, allocations: 1.244 MB / 0.8616 GB, free: 4.621 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-05/1.021, allocations: 8 kB / 0.8616 GB, free: 4.613 MB / 0.573 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.003358/1.025, allocations: 1.454 MB / 0.863 GB, free: 3.145 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/1.025, allocations: 41.7 kB / 0.8631 GB, free: 3.098 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.025, allocations: 12.09 kB / 0.8631 GB, free: 3.086 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.025, allocations: 12 kB / 0.8631 GB, free: 3.074 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/1.026, allocations: 283.6 kB / 0.8634 GB, free: 2.797 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/1.026, allocations: 15.94 kB / 0.8634 GB, free: 2.781 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/1.028, allocations: 172.4 kB / 0.8636 GB, free: 2.613 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.028, allocations: 51.98 kB / 0.8636 GB, free: 2.562 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (133): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * 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.0003452/1.028, allocations: 252.8 kB / 0.8638 GB, free: 2.309 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/1.029, allocations: 177.8 kB / 0.864 GB, free: 2.133 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003202/1.032, allocations: 1.235 MB / 0.8652 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/1.032, allocations: 8 kB / 0.8652 GB, free: 0.875 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.032, allocations: 0 / 0.8652 GB, free: 0.875 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002415/1.034, allocations: 1.297 MB / 0.8665 GB, free: 15.49 MB / 0.5886 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.006981/1.041, allocations: 3.028 MB / 0.8695 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/1.041, allocations: 0 / 0.8695 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009938/1.042, allocations: 199.9 kB / 0.8696 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002209/1.043, allocations: 48.81 kB / 0.8697 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.324e-05/1.043, allocations: 23.98 kB / 0.8697 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/1.044, allocations: 1.417 MB / 0.8711 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.044, allocations: 0 / 0.8711 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1397/1.184, allocations: 31.32 MB / 0.9017 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008781/1.185, allocations: 334.7 kB / 0.902 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/1.185, allocations: 20 kB / 0.902 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.186, allocations: 147.7 kB / 0.9022 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/1.187, allocations: 68.5 kB / 0.9022 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.921e-05/1.187, allocations: 31.98 kB / 0.9023 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001756/1.188, allocations: 1.049 MB / 0.9033 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/1.188, allocations: 0 / 0.9033 GB, free: 9.309 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.006688/1.195, allocations: 1.552 MB / 0.9048 GB, free: 7.754 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],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 (85): * Single equations (assignments): 82 * 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.001668/1.197, allocations: 0.6463 MB / 0.9054 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004266/1.201, allocations: 1.872 MB / 0.9073 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.201, allocations: 4 kB / 0.9073 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001422/1.203, allocations: 0.6435 MB / 0.9079 GB, free: 4.738 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003916/1.206, allocations: 0.7777 MB / 0.9086 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008931/1.215, allocations: 5.039 MB / 0.9136 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/1.217, allocations: 1.515 MB / 0.915 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00253/1.219, allocations: 0.4946 MB / 0.9155 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/1.22, allocations: 147.4 kB / 0.9157 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/1.22, allocations: 0 / 0.9157 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of Templates: time 0.06873/1.289, allocations: 41.18 MB / 0.9559 GB, free: 3.855 MB / 0.6667 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)