Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 116.3 kB / 17.09 MB, free: 5.992 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.001121/0.001121, allocations: 185.6 kB / 18.02 MB, free: 5.082 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.301/1.301, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7554/0.7554, allocations: 122.9 MB / 414.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 71 kB / 0.5691 GB, free: 28.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1304, allocations: 77.93 MB / 0.6452 GB, free: 9.059 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.5754/0.7059, allocations: 260.8 MB / 0.8999 GB, free: 6.984 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02894/0.7348, allocations: 18.79 MB / 0.9183 GB, free: 4.141 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004576/0.7395, allocations: 95.5 kB / 0.9184 GB, free: 4.047 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.006551/0.746, allocations: 2.279 MB / 0.9206 GB, free: 1.758 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01101/0.757, allocations: 4.336 MB / 0.9248 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006751/0.7638, allocations: 2.669 MB / 0.9275 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01256/0.7764, allocations: 8.819 MB / 0.9361 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003621/0.78, allocations: 2.197 MB / 0.9382 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006146/0.7862, allocations: 2.834 MB / 0.941 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.7899, allocations: 1.842 MB / 0.9428 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0007911/0.7907, allocations: 248 kB / 0.943 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008618/0.7994, allocations: 4.249 MB / 0.9472 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00157/0.801, allocations: 1.009 MB / 0.9481 GB, free: 5.473 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003281/0.8043, allocations: 1.551 MB / 0.9497 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01128/0.8155, allocations: 5.609 MB / 0.9551 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.8156, allocations: 0 / 0.9551 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8156, allocations: 0 / 0.9551 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001326/0.8157, allocations: 0 / 0.9551 GB, free: 14.29 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: 381 * Number of variables: 381 Notification: Performance of Generate backend data structure: time 0.008417/0.8241, allocations: 3.526 MB / 0.9586 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.8242, allocations: 8.625 kB / 0.9586 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005928/0.8301, allocations: 0.8979 MB / 0.9595 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005773/0.8359, allocations: 2.948 MB / 0.9623 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.836, allocations: 119 kB / 0.9625 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003788/0.8364, allocations: 167.9 kB / 0.9626 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/0.8403, allocations: 1.847 MB / 0.9644 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.8404, allocations: 0 / 0.9644 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.8406, allocations: 67.94 kB / 0.9645 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.704e-05/0.8406, allocations: 58.88 kB / 0.9645 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/0.8443, allocations: 1.596 MB / 0.9661 GB, free: 2.824 MB / 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.01282/0.8571, allocations: 8.726 MB / 0.9746 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/0.8598, allocations: 1.741 MB / 0.9763 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.8613, allocations: 0.6712 MB / 0.977 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005023/0.8618, allocations: 227.1 kB / 0.9772 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/0.8633, allocations: 0.6532 MB / 0.9778 GB, free: 5.984 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=99): time 3.456e-06/0.8633, allocations: 4 kB / 0.9778 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.009016/0.8723, allocations: 3.718 MB / 0.9815 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.8724, allocations: 64.41 kB / 0.9815 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003332/0.8757, allocations: 2.135 MB / 0.9836 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.8759, allocations: 49.7 kB / 0.9837 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009483/0.8768, allocations: 1.098 MB / 0.9847 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.8772, allocations: 366.8 kB / 0.9851 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005362/0.8777, allocations: 355.2 kB / 0.9854 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.8778, allocations: 305.1 kB / 0.9857 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/0.8793, allocations: 0.7309 MB / 0.9864 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001762/0.8811, allocations: 1.111 MB / 0.9875 GB, free: 11.78 MB / 0.7481 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01552/0.8966, allocations: 4.53 MB / 0.9919 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/0.8967, allocations: 3.938 kB / 0.9919 GB, free: 7.094 MB / 0.7481 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004559/0.9012, allocations: 2.176 MB / 0.9941 GB, free: 4.902 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.217e-05/0.9013, allocations: 44.19 kB / 0.9941 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.9013, allocations: 8 kB / 0.9941 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.9015, allocations: 44.84 kB / 0.9942 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.903, allocations: 359.8 kB / 0.9945 GB, free: 4.449 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.9043, allocations: 1.672 MB / 0.9961 GB, free: 2.645 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.9063, allocations: 111.8 kB / 0.9962 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.9065, allocations: 63.98 kB / 0.9963 GB, free: 2.473 MB / 0.7481 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002387/0.9089, allocations: 1.262 MB / 0.9975 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001746/0.9106, allocations: 1.114 MB / 0.9986 GB, free: 15.95 MB / 0.7637 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01534/0.926, allocations: 4.521 MB / 1.003 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.146e-05/0.926, allocations: 4 kB / 1.003 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.004276/0.9303, allocations: 2.162 MB / 1.005 GB, free: 9.098 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.9304, allocations: 38.48 kB / 1.005 GB, free: 9.055 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.9304, allocations: 12 kB / 1.005 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/0.9305, allocations: 52.83 kB / 1.005 GB, free: 8.988 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/0.932, allocations: 355.4 kB / 1.006 GB, free: 8.641 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001241/0.9332, allocations: 1.674 MB / 1.007 GB, free: 6.824 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.9353, allocations: 108 kB / 1.007 GB, free: 6.719 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.9354, allocations: 63.98 kB / 1.007 GB, free: 6.656 MB / 0.7637 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (183): * Single equations (assignments): 178 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003856/0.9358, allocations: 267.8 kB / 1.008 GB, free: 6.387 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/0.9363, allocations: 229.1 kB / 1.008 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003485/0.9398, allocations: 1.436 MB / 1.009 GB, free: 4.707 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002607/0.9424, allocations: 1.168 MB / 1.01 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.9424, allocations: 0 / 1.01 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/0.9435, allocations: 426.1 kB / 1.011 GB, free: 3.082 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004196/0.9439, allocations: 24 kB / 1.011 GB, free: 3.059 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001413/0.9453, allocations: 85.33 kB / 1.011 GB, free: 2.977 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.9455, allocations: 72.89 kB / 1.011 GB, free: 2.906 MB / 0.7637 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003973/0.9495, allocations: 1.522 MB / 1.012 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004215/0.9537, allocations: 2.183 MB / 1.015 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001229/0.955, allocations: 0.5974 MB / 1.015 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002491/0.9575, allocations: 1.43 MB / 1.017 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of Backend: time 5.42e-07/0.9575, allocations: 3.938 kB / 1.017 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007895/0.9654, allocations: 3.464 MB / 1.02 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of SimCode: time 0.01112/0.9765, allocations: 5.562 MB / 1.025 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of Templates: time 0.3921/1.369, allocations: 58.1 MB / 1.082 GB, free: 313.6 MB / 0.8106 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)