Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001322/0.001322, allocations: 110.9 kB / 16.42 MB, free: 6.469 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.001417/0.001417, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.291/1.291, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.764/0.764, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.05 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1367, allocations: 80.92 MB / 0.6653 GB, free: 5.871 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.594/0.7307, allocations: 260.4 MB / 0.9196 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02608/0.7568, allocations: 16.96 MB / 0.9362 GB, free: 9.621 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00387/0.7608, allocations: 95.5 kB / 0.9363 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.004347/0.7651, allocations: 1.472 MB / 0.9377 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.7757, allocations: 4.158 MB / 0.9418 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006575/0.7823, allocations: 2.571 MB / 0.9443 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008323/0.7906, allocations: 5.89 MB / 0.9501 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003651/0.7943, allocations: 2.158 MB / 0.9522 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005844/0.8001, allocations: 2.826 MB / 0.9549 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003585/0.8037, allocations: 1.77 MB / 0.9566 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007211/0.8045, allocations: 240 kB / 0.9569 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007881/0.8124, allocations: 4.061 MB / 0.9608 GB, free: 308 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.8137, allocations: 0.8725 MB / 0.9617 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002566/0.8163, allocations: 1.372 MB / 0.963 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.009647/0.8259, allocations: 5.009 MB / 0.9679 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.826, allocations: 4 kB / 0.9679 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.994e-06/0.826, allocations: 0 / 0.9679 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001109/0.8261, allocations: 0 / 0.9679 GB, free: 9.02 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.007315/0.8334, allocations: 3.102 MB / 0.971 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.8335, allocations: 9.109 kB / 0.971 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005182/0.8386, allocations: 0.7891 MB / 0.9717 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/0.8428, allocations: 1.897 MB / 0.9736 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.843, allocations: 123 kB / 0.9737 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005182/0.8435, allocations: 164 kB / 0.9739 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004775/0.8483, allocations: 1.822 MB / 0.9756 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/0.8484, allocations: 3.938 kB / 0.9757 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002221/0.8486, allocations: 68 kB / 0.9757 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-05/0.8487, allocations: 58.86 kB / 0.9758 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003498/0.8522, allocations: 1.545 MB / 0.9773 GB, free: 15.25 MB / 0.7481 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.01232/0.8645, allocations: 8.342 MB / 0.9854 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.8671, allocations: 1.737 MB / 0.9871 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001302/0.8684, allocations: 0.6707 MB / 0.9878 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005015/0.8689, allocations: 227.9 kB / 0.988 GB, free: 3.461 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001395/0.8704, allocations: 0.6649 MB / 0.9886 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=100): time 4.017e-06/0.8704, allocations: 0 / 0.9886 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of matching and sorting (n=103): time 0.008594/0.879, allocations: 3.63 MB / 0.9922 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.879, allocations: 60.41 kB / 0.9922 GB, free: 15 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.8816, allocations: 1.548 MB / 0.9938 GB, free: 13.41 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.8817, allocations: 53.7 kB / 0.9938 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008461/0.8826, allocations: 0.9519 MB / 0.9947 GB, free: 12.38 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003538/0.8829, allocations: 362.8 kB / 0.9951 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004156/0.8834, allocations: 238.8 kB / 0.9953 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.8835, allocations: 357.9 kB / 0.9957 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.8848, allocations: 0.5486 MB / 0.9962 GB, free: 10.88 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.8862, allocations: 0.8842 MB / 0.9971 GB, free: 9.852 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): time 0.01503/0.9013, allocations: 4.252 MB / 1.001 GB, free: 5.461 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/0.9013, allocations: 8 kB / 1.001 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003697/0.905, allocations: 1.677 MB / 1.003 GB, free: 3.762 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 5.522e-05/0.9051, allocations: 37.69 kB / 1.003 GB, free: 3.719 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.9051, allocations: 11.94 kB / 1.003 GB, free: 3.707 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.9053, allocations: 48.78 kB / 1.003 GB, free: 3.656 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.9066, allocations: 295.8 kB / 1.003 GB, free: 3.367 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.908, allocations: 1.678 MB / 1.005 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.9098, allocations: 92.53 kB / 1.005 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.9099, allocations: 51.98 kB / 1.005 GB, free: 1.414 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.002136/0.9121, allocations: 0.9615 MB / 1.006 GB, free: 460 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001447/0.9135, allocations: 0.8762 MB / 1.007 GB, free: 15.43 MB / 0.7794 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.01463/0.9282, allocations: 4.16 MB / 1.011 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.017e-06/0.9282, allocations: 0 / 1.011 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.003653/0.9319, allocations: 1.657 MB / 1.012 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.932, allocations: 35.42 kB / 1.013 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.932, allocations: 8 kB / 1.013 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.9321, allocations: 48.78 kB / 1.013 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.9334, allocations: 299.9 kB / 1.013 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.9346, allocations: 1.667 MB / 1.014 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.9363, allocations: 100.5 kB / 1.015 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.9365, allocations: 51.98 kB / 1.015 GB, free: 7.109 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.0003884/0.9369, allocations: 257.2 kB / 1.015 GB, free: 6.852 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004615/0.9373, allocations: 193.7 kB / 1.015 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.9406, allocations: 1.413 MB / 1.016 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002445/0.9431, allocations: 1.16 MB / 1.018 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9431, allocations: 0 / 1.018 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008684/0.9439, allocations: 374.6 kB / 1.018 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/0.9443, allocations: 27.98 kB / 1.018 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.9456, allocations: 67.94 kB / 1.018 GB, free: 3.574 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.9458, allocations: 68.91 kB / 1.018 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003785/0.9496, allocations: 1.499 MB / 1.02 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004019/0.9536, allocations: 2.208 MB / 1.022 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001125/0.9548, allocations: 0.5933 MB / 1.022 GB, free: 15.17 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001741/0.9565, allocations: 1.039 MB / 1.023 GB, free: 14.11 MB / 0.795 GB Notification: Performance of Backend: time 7.92e-07/0.9565, allocations: 0 / 1.023 GB, free: 14.11 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00704/0.9636, allocations: 2.815 MB / 1.026 GB, free: 11.25 MB / 0.795 GB Notification: Performance of SimCode: time 0.00853/0.9721, allocations: 4.755 MB / 1.031 GB, free: 6.449 MB / 0.795 GB Notification: Performance of Templates: time 0.3838/1.356, allocations: 49.78 MB / 1.079 GB, free: 322 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)