Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001291/0.001291, allocations: 118.5 kB / 16.42 MB, free: 6.496 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.00126/0.00126, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8013/0.8013, allocations: 132.2 MB / 423.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 64.2 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1502, allocations: 80.21 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.6142/0.7644, allocations: 260.4 MB / 0.9147 GB, free: 1.23 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02483/0.7893, allocations: 16.95 MB / 0.9312 GB, free: 232 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003874/0.7932, allocations: 95.5 kB / 0.9313 GB, free: 136 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004494/0.7977, allocations: 1.476 MB / 0.9328 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.8086, allocations: 4.157 MB / 0.9368 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006715/0.8153, allocations: 2.575 MB / 0.9393 GB, free: 7.914 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00817/0.8235, allocations: 5.893 MB / 0.9451 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003421/0.827, allocations: 2.16 MB / 0.9472 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005703/0.8327, allocations: 2.818 MB / 0.95 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003526/0.8362, allocations: 1.781 MB / 0.9517 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007282/0.837, allocations: 236 kB / 0.9519 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007794/0.8448, allocations: 4.065 MB / 0.9559 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.846, allocations: 0.8764 MB / 0.9567 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002469/0.8485, allocations: 1.357 MB / 0.9581 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008947/0.8575, allocations: 5.013 MB / 0.963 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8575, allocations: 4 kB / 0.963 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.714e-06/0.8575, allocations: 0 / 0.963 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001114/0.8576, allocations: 0 / 0.963 GB, free: 15.62 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.007308/0.8649, allocations: 3.106 MB / 0.966 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.865, allocations: 12.03 kB / 0.966 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005528/0.8705, allocations: 0.7899 MB / 0.9668 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/0.8752, allocations: 1.884 MB / 0.9686 GB, free: 9.699 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.8753, allocations: 123 kB / 0.9687 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005312/0.8759, allocations: 160 kB / 0.9689 GB, free: 9.422 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004152/0.8801, allocations: 1.822 MB / 0.9707 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-05/0.8801, allocations: 15.78 kB / 0.9707 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.8803, allocations: 56 kB / 0.9707 GB, free: 7.465 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.635e-05/0.8804, allocations: 58.88 kB / 0.9708 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/0.8839, allocations: 1.557 MB / 0.9723 GB, free: 5.844 MB / 0.7325 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.01253/0.8964, allocations: 8.338 MB / 0.9805 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.8991, allocations: 1.744 MB / 0.9822 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001318/0.9004, allocations: 0.6674 MB / 0.9828 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004975/0.9009, allocations: 223.1 kB / 0.983 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001385/0.9023, allocations: 0.6687 MB / 0.9837 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=100): time 3.546e-06/0.9023, allocations: 0 / 0.9837 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of matching and sorting (n=103): time 0.008318/0.9107, allocations: 3.618 MB / 0.9872 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.9107, allocations: 68.41 kB / 0.9873 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.913, allocations: 1.544 MB / 0.9888 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.9132, allocations: 57.64 kB / 0.9888 GB, free: 3.957 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008915/0.9141, allocations: 0.9559 MB / 0.9898 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.9144, allocations: 362.8 kB / 0.9901 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/0.9149, allocations: 238.8 kB / 0.9904 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.915, allocations: 353.9 kB / 0.9907 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.9163, allocations: 0.5486 MB / 0.9912 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.9178, allocations: 0.8842 MB / 0.9921 GB, free: 476 kB / 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.0154/0.9332, allocations: 4.252 MB / 0.9962 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.9332, allocations: 0 / 0.9962 GB, free: 12.07 MB / 0.7637 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003886/0.9371, allocations: 1.692 MB / 0.9979 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.9372, allocations: 37.64 kB / 0.9979 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.9372, allocations: 8 kB / 0.9979 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.9374, allocations: 48.83 kB / 0.998 GB, free: 10.26 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.9387, allocations: 300 kB / 0.9983 GB, free: 9.969 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001302/0.94, allocations: 1.671 MB / 0.9999 GB, free: 8.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.9417, allocations: 90.66 kB / 1 GB, free: 8.074 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.9418, allocations: 51.98 kB / 1 GB, free: 8.023 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 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002001/0.9438, allocations: 0.9696 MB / 1.001 GB, free: 7.051 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001429/0.9453, allocations: 0.8647 MB / 1.002 GB, free: 6.051 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.0148/0.9601, allocations: 4.16 MB / 1.006 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.057e-06/0.9601, allocations: 4 kB / 1.006 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003503/0.9636, allocations: 1.657 MB / 1.008 GB, free: 72 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.9637, allocations: 37.69 kB / 1.008 GB, free: 28 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.9637, allocations: 8 kB / 1.008 GB, free: 20 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/0.9639, allocations: 45.47 kB / 1.008 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.9651, allocations: 299.6 kB / 1.008 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.9664, allocations: 1.667 MB / 1.01 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.9681, allocations: 99.25 kB / 1.01 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.9682, allocations: 55.98 kB / 1.01 GB, free: 13.72 MB / 0.7794 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: 34 * 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 (149): * Single equations (assignments): 145 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * 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.0003764/0.9686, allocations: 263.9 kB / 1.01 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004109/0.969, allocations: 189.7 kB / 1.01 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003308/0.9724, allocations: 1.413 MB / 1.011 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002449/0.9748, allocations: 1.164 MB / 1.013 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.9748, allocations: 3.938 kB / 1.013 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008175/0.9757, allocations: 378.6 kB / 1.013 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/0.976, allocations: 24 kB / 1.013 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.9773, allocations: 67.94 kB / 1.013 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.9775, allocations: 72.89 kB / 1.013 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003835/0.9813, allocations: 1.491 MB / 1.015 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004023/0.9854, allocations: 2.208 MB / 1.017 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001119/0.9865, allocations: 0.5856 MB / 1.017 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.00159/0.9881, allocations: 1.039 MB / 1.018 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of Backend: time 1.924e-06/0.9881, allocations: 0 / 1.018 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.006768/0.9949, allocations: 2.824 MB / 1.021 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of SimCode: time 0.008623/1.004, allocations: 4.749 MB / 1.026 GB, free: 13.09 MB / 0.795 GB Notification: Performance of Templates: time 0.4222/1.426, allocations: 49.78 MB / 1.074 GB, free: 305.4 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)