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.001198/0.001198, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00107/0.00107, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8659/0.8659, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 67.53 kB / 0.5863 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1723, allocations: 80.92 MB / 0.6653 GB, free: 5.867 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.7214/0.8938, allocations: 235.9 MB / 0.8957 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02694/0.9208, allocations: 15.72 MB / 0.9111 GB, free: 3.441 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005458/0.9263, allocations: 91.5 kB / 0.9112 GB, free: 3.352 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005291/0.9316, allocations: 1.315 MB / 0.9124 GB, free: 2.031 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.9434, allocations: 3.42 MB / 0.9158 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007908/0.9513, allocations: 2.5 MB / 0.9182 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008943/0.9603, allocations: 4.97 MB / 0.9231 GB, free: 7.137 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004092/0.9644, allocations: 1.895 MB / 0.9249 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007486/0.9719, allocations: 2.728 MB / 0.9276 GB, free: 2.453 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003988/0.9759, allocations: 1.558 MB / 0.9291 GB, free: 0.8945 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.9769, allocations: 200 kB / 0.9293 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008108/0.9851, allocations: 3.434 MB / 0.9327 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001615/0.9867, allocations: 0.74 MB / 0.9334 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003171/0.9899, allocations: 1.201 MB / 0.9346 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01084/1.001, allocations: 4.316 MB / 0.9388 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 1.17e-05/1.001, allocations: 0 / 0.9388 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.903e-06/1.001, allocations: 0 / 0.9388 GB, free: 6.98 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001487/1.001, allocations: 4 kB / 0.9388 GB, free: 6.977 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.008324/1.009, allocations: 2.826 MB / 0.9415 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/1.009, allocations: 17.11 kB / 0.9415 GB, free: 4.066 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005466/1.015, allocations: 0.7659 MB / 0.9423 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005056/1.02, allocations: 1.734 MB / 0.944 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/1.02, allocations: 106.6 kB / 0.9441 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005691/1.021, allocations: 140.9 kB / 0.9442 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004931/1.026, allocations: 1.647 MB / 0.9458 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.201e-05/1.026, allocations: 3.938 kB / 0.9458 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003919/1.026, allocations: 56 kB / 0.9459 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.788e-05/1.026, allocations: 50.44 kB / 0.9459 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/1.03, allocations: 1.415 MB / 0.9473 GB, free: 14.02 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.01502/1.045, allocations: 7.739 MB / 0.9549 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002894/1.048, allocations: 1.562 MB / 0.9564 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/1.049, allocations: 0.518 MB / 0.9569 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/1.051, allocations: 0.7786 MB / 0.9577 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001351/1.052, allocations: 0.5436 MB / 0.9582 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=83): time 3.837e-06/1.052, allocations: 0 / 0.9582 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of matching and sorting (n=83): time 0.004424/1.057, allocations: 1.574 MB / 0.9597 GB, free: 420 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/1.057, allocations: 72.28 kB / 0.9598 GB, free: 336 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003045/1.06, allocations: 1.563 MB / 0.9613 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001766/1.06, allocations: 49.69 kB / 0.9614 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/1.061, allocations: 0.9279 MB / 0.9623 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003861/1.061, allocations: 295.8 kB / 0.9626 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004745/1.062, allocations: 214.8 kB / 0.9628 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.062, allocations: 345.9 kB / 0.9631 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/1.063, allocations: 457.8 kB / 0.9635 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/1.065, allocations: 0.7741 MB / 0.9643 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/1.067, allocations: 1.215 MB / 0.9655 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-05/1.067, allocations: 4 kB / 0.9655 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00345/1.07, allocations: 1.419 MB / 0.9669 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.184e-05/1.07, allocations: 33.7 kB / 0.9669 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/1.071, allocations: 9.094 kB / 0.9669 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.119e-05/1.071, allocations: 16 kB / 0.9669 GB, free: 8.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.072, allocations: 272 kB / 0.9672 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.96e-05/1.072, allocations: 19.88 kB / 0.9672 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/1.073, allocations: 145.5 kB / 0.9673 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/1.074, allocations: 51.98 kB / 0.9674 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001913/1.076, allocations: 0.7992 MB / 0.9682 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001334/1.077, allocations: 0.7702 MB / 0.9689 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002318/1.079, allocations: 1.187 MB / 0.9701 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.28e-05/1.079, allocations: 4 kB / 0.9701 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.003266/1.083, allocations: 1.391 MB / 0.9714 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.926e-05/1.083, allocations: 33.7 kB / 0.9715 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.083, allocations: 8 kB / 0.9715 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/1.083, allocations: 16 kB / 0.9715 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.084, allocations: 268.2 kB / 0.9718 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/1.084, allocations: 21.17 kB / 0.9718 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/1.085, allocations: 127.8 kB / 0.9719 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.086, allocations: 51.98 kB / 0.972 GB, free: 3.273 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.00038/1.086, allocations: 250.3 kB / 0.9722 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005525/1.086, allocations: 173.8 kB / 0.9724 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003045/1.09, allocations: 1.165 MB / 0.9735 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.426e-05/1.09, allocations: 12 kB / 0.9735 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.09, allocations: 3.938 kB / 0.9735 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00223/1.092, allocations: 1.223 MB / 0.9747 GB, free: 356 kB / 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 postOpt removeSimpleEquations (simulation): time 0.006541/1.098, allocations: 2.894 MB / 0.9775 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.098, allocations: 4 kB / 0.9775 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009441/1.099, allocations: 187.9 kB / 0.9777 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002456/1.1, allocations: 44.77 kB / 0.9778 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/1.1, allocations: 23.98 kB / 0.9778 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/1.101, allocations: 1.531 MB / 0.9793 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.101, allocations: 4.062 kB / 0.9793 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003875/1.105, allocations: 1.761 MB / 0.981 GB, free: 9.617 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009301/1.106, allocations: 354.5 kB / 0.9813 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004497/1.106, allocations: 20 kB / 0.9814 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.108, allocations: 59.88 kB / 0.9814 GB, free: 9.172 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.108, allocations: 64.5 kB / 0.9815 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-05/1.108, allocations: 31.98 kB / 0.9815 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002146/1.11, allocations: 1.057 MB / 0.9825 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.41e-07/1.11, allocations: 0 / 0.9825 GB, free: 8.031 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003182/1.113, allocations: 0.9234 MB / 0.9834 GB, free: 7.105 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.00183/1.115, allocations: 0.5986 MB / 0.984 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004338/1.119, allocations: 1.782 MB / 0.9858 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.119, allocations: 0 / 0.9858 GB, free: 4.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/1.121, allocations: 0.6009 MB / 0.9863 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004458/1.125, allocations: 0.8216 MB / 0.9872 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009009/1.134, allocations: 3.688 MB / 0.9908 GB, free: 15.68 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/1.136, allocations: 1.487 MB / 0.9922 GB, free: 14.15 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/1.137, allocations: 139.4 kB / 0.9923 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of SimCode: time 9.82e-07/1.137, allocations: 0 / 0.9923 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of Templates: time 0.05498/1.192, allocations: 34.07 MB / 1.026 GB, free: 12.12 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)