Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.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_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.002242/0.002242, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8656/0.8656, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 71.19 kB / 0.5864 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1879, allocations: 80.93 MB / 0.6654 GB, free: 5.656 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_T): time 0.7275/0.9153, allocations: 236.5 MB / 0.8964 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02718/0.9425, allocations: 15.74 MB / 0.9118 GB, free: 2.883 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004125/0.9466, allocations: 87.5 kB / 0.9119 GB, free: 2.797 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.9512, allocations: 1.36 MB / 0.9132 GB, free: 1.434 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.9619, allocations: 3.538 MB / 0.9166 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007331/0.9692, allocations: 2.506 MB / 0.9191 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008932/0.9782, allocations: 4.962 MB / 0.9239 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.9813, allocations: 1.574 MB / 0.9255 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006931/0.9883, allocations: 2.783 MB / 0.9282 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003816/0.9921, allocations: 1.558 MB / 0.9297 GB, free: 460 kB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005857/0.9927, allocations: 200 kB / 0.9299 GB, free: 260 kB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007586/1, allocations: 3.43 MB / 0.9333 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001458/1.002, allocations: 0.7709 MB / 0.934 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002241/1.004, allocations: 1.193 MB / 0.9352 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0115/1.015, allocations: 4.341 MB / 0.9394 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.015, allocations: 0 / 0.9394 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.795e-06/1.015, allocations: 3.938 kB / 0.9394 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.972e-05/1.016, allocations: 4 kB / 0.9394 GB, free: 6.48 MB / 0.7012 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.007313/1.023, allocations: 2.916 MB / 0.9423 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.023, allocations: 9.109 kB / 0.9423 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005144/1.028, allocations: 0.7789 MB / 0.943 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/1.033, allocations: 1.752 MB / 0.9447 GB, free: 0.9023 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/1.033, allocations: 110.6 kB / 0.9448 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002844/1.033, allocations: 136 kB / 0.945 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/1.037, allocations: 1.651 MB / 0.9466 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/1.037, allocations: 4 kB / 0.9466 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/1.037, allocations: 63.47 kB / 0.9467 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.915e-05/1.037, allocations: 46.5 kB / 0.9467 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003509/1.04, allocations: 1.423 MB / 0.9481 GB, free: 13.39 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.01368/1.054, allocations: 7.745 MB / 0.9557 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/1.057, allocations: 1.509 MB / 0.9571 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/1.058, allocations: 486.5 kB / 0.9576 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/1.06, allocations: 0.7863 MB / 0.9584 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001345/1.061, allocations: 0.5397 MB / 0.9589 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=83): time 3.547e-06/1.061, allocations: 0 / 0.9589 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=83): time 0.0046/1.066, allocations: 1.583 MB / 0.9604 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.955e-05/1.066, allocations: 64.34 kB / 0.9605 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002572/1.068, allocations: 1.571 MB / 0.962 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001889/1.069, allocations: 49.69 kB / 0.9621 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009843/1.07, allocations: 0.9374 MB / 0.963 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00039/1.07, allocations: 313.3 kB / 0.9633 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003905/1.07, allocations: 214.8 kB / 0.9635 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.07, allocations: 341.9 kB / 0.9638 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/1.072, allocations: 453.8 kB / 0.9643 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/1.073, allocations: 0.782 MB / 0.965 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/1.076, allocations: 1.211 MB / 0.9662 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/1.076, allocations: 4 kB / 0.9662 GB, free: 9.645 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003402/1.079, allocations: 1.428 MB / 0.9676 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/1.079, allocations: 37.7 kB / 0.9676 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/1.079, allocations: 8 kB / 0.9676 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.254e-05/1.079, allocations: 12 kB / 0.9677 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.08, allocations: 279.7 kB / 0.9679 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/1.08, allocations: 15.94 kB / 0.9679 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/1.082, allocations: 133.9 kB / 0.9681 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/1.082, allocations: 55.98 kB / 0.9681 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001949/1.084, allocations: 0.8069 MB / 0.9689 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001373/1.085, allocations: 0.7702 MB / 0.9697 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002433/1.088, allocations: 1.184 MB / 0.9708 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.12e-06/1.088, allocations: 0 / 0.9708 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.003366/1.091, allocations: 1.4 MB / 0.9722 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/1.091, allocations: 41.7 kB / 0.9722 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.091, allocations: 8 kB / 0.9722 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.091, allocations: 12 kB / 0.9722 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/1.092, allocations: 272 kB / 0.9725 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/1.092, allocations: 23.86 kB / 0.9725 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/1.094, allocations: 128 kB / 0.9726 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.094, allocations: 47.98 kB / 0.9727 GB, free: 2.688 MB / 0.7325 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 (131): * Single equations (assignments): 129 * 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.0003905/1.094, allocations: 251.9 kB / 0.9729 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000347/1.095, allocations: 183.9 kB / 0.9731 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/1.098, allocations: 1.158 MB / 0.9742 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/1.098, allocations: 8 kB / 0.9742 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/1.098, allocations: 4 kB / 0.9742 GB, free: 1.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002453/1.1, allocations: 1.227 MB / 0.9754 GB, free: 15.76 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 postOpt removeSimpleEquations (simulation): time 0.006128/1.106, allocations: 2.899 MB / 0.9783 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/1.106, allocations: 0 / 0.9783 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009659/1.107, allocations: 187.9 kB / 0.9785 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002535/1.107, allocations: 44.83 kB / 0.9785 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-05/1.107, allocations: 27.92 kB / 0.9785 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/1.109, allocations: 1.532 MB / 0.98 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.109, allocations: 7.969 kB / 0.98 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/1.113, allocations: 1.766 MB / 0.9818 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009892/1.114, allocations: 359.6 kB / 0.9821 GB, free: 8.645 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/1.114, allocations: 16 kB / 0.9821 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009701/1.115, allocations: 67.83 kB / 0.9822 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/1.115, allocations: 68.5 kB / 0.9822 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/1.116, allocations: 31.98 kB / 0.9823 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001745/1.117, allocations: 1.049 MB / 0.9833 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/1.117, allocations: 0 / 0.9833 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002609/1.12, allocations: 0.9354 MB / 0.9842 GB, free: 6.488 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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 (83): * Single equations (assignments): 80 * 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.002103/1.122, allocations: 0.5979 MB / 0.9848 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004204/1.126, allocations: 1.701 MB / 0.9865 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.126, allocations: 0 / 0.9865 GB, free: 4.305 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001404/1.128, allocations: 0.5769 MB / 0.987 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.131, allocations: 0.8203 MB / 0.9878 GB, free: 2.91 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008437/1.14, allocations: 3.753 MB / 0.9915 GB, free: 15.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001328/1.141, allocations: 1.491 MB / 0.9929 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/1.142, allocations: 139.4 kB / 0.9931 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of SimCode: time 1.283e-06/1.142, allocations: 0 / 0.9931 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of Templates: time 0.06194/1.204, allocations: 34.21 MB / 1.026 GB, free: 11.39 MB / 0.795 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)