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.005115/0.005115, allocations: 97.94 kB / 15.73 MB, free: 6.004 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.001151/0.001151, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9725/0.9725, allocations: 135.1 MB / 425.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 67.91 kB / 0.5857 GB, free: 3.348 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.5, allocations: 80.92 MB / 0.6647 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7625/1.263, allocations: 235.9 MB / 0.8951 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02493/1.288, allocations: 15.73 MB / 0.9104 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004848/1.293, allocations: 89.97 kB / 0.9105 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004674/1.297, allocations: 1.318 MB / 0.9118 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01083/1.308, allocations: 3.404 MB / 0.9151 GB, free: 1.535 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008107/1.316, allocations: 2.494 MB / 0.9176 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008907/1.325, allocations: 4.971 MB / 0.9224 GB, free: 1.453 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003608/1.329, allocations: 1.909 MB / 0.9243 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007931/1.337, allocations: 2.689 MB / 0.9269 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004266/1.341, allocations: 1.557 MB / 0.9284 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007815/1.342, allocations: 198.4 kB / 0.9286 GB, free: 1.129 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008708/1.351, allocations: 3.43 MB / 0.932 GB, free: 1.09 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001467/1.352, allocations: 0.7526 MB / 0.9327 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002104/1.354, allocations: 1.196 MB / 0.9339 GB, free: 0.6445 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/1.365, allocations: 4.331 MB / 0.9381 GB, free: 88 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.365, allocations: 3.188 kB / 0.9381 GB, free: 88 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.864e-06/1.365, allocations: 0 / 0.9381 GB, free: 88 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.014e-05/1.365, allocations: 1.062 kB / 0.9381 GB, free: 88 kB / 0.6856 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.005883/1.371, allocations: 2.911 MB / 0.9409 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/1.371, allocations: 11.81 kB / 0.941 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00492/1.376, allocations: 0.7799 MB / 0.9417 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/1.379, allocations: 1.749 MB / 0.9434 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.131e-05/1.379, allocations: 115.4 kB / 0.9435 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/1.379, allocations: 141.3 kB / 0.9437 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/1.383, allocations: 1.643 MB / 0.9453 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/1.383, allocations: 4.297 kB / 0.9453 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/1.383, allocations: 56.28 kB / 0.9453 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.597e-05/1.383, allocations: 47.97 kB / 0.9454 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/1.386, allocations: 1.418 MB / 0.9468 GB, free: 13.64 MB / 0.7012 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.01078/1.397, allocations: 7.747 MB / 0.9543 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002585/1.4, allocations: 1.561 MB / 0.9559 GB, free: 7.891 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.401, allocations: 0.5104 MB / 0.9563 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.402, allocations: 0.7845 MB / 0.9571 GB, free: 6.812 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/1.403, allocations: 0.5429 MB / 0.9576 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=83): time 3.476e-06/1.403, allocations: 0 / 0.9576 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of matching and sorting (n=83): time 0.004145/1.407, allocations: 1.592 MB / 0.9592 GB, free: 5.656 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/1.408, allocations: 62.97 kB / 0.9593 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/1.41, allocations: 1.567 MB / 0.9608 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001358/1.41, allocations: 50.08 kB / 0.9608 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008927/1.411, allocations: 0.9334 MB / 0.9618 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/1.411, allocations: 309.8 kB / 0.962 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003449/1.411, allocations: 219.4 kB / 0.9623 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.412, allocations: 344.7 kB / 0.9626 GB, free: 3.184 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/1.413, allocations: 453.5 kB / 0.963 GB, free: 2.961 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/1.414, allocations: 0.7838 MB / 0.9638 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002217/1.416, allocations: 1.21 MB / 0.965 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/1.416, allocations: 2.625 kB / 0.965 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00304/1.419, allocations: 1.435 MB / 0.9664 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.389e-05/1.419, allocations: 36.67 kB / 0.9664 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/1.419, allocations: 7.625 kB / 0.9664 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/1.419, allocations: 12.97 kB / 0.9664 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.42, allocations: 270.6 kB / 0.9667 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/1.42, allocations: 21.23 kB / 0.9667 GB, free: 0.7188 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001434/1.422, allocations: 137.7 kB / 0.9668 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/1.422, allocations: 47.22 kB / 0.9669 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001755/1.424, allocations: 0.8085 MB / 0.9677 GB, free: 168 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001201/1.425, allocations: 0.7719 MB / 0.9684 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002128/1.427, allocations: 1.187 MB / 0.9696 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.579e-06/1.427, allocations: 0 / 0.9696 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.003017/1.43, allocations: 1.406 MB / 0.971 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.03e-05/1.43, allocations: 45.56 kB / 0.971 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/1.43, allocations: 8 kB / 0.971 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.43, allocations: 16 kB / 0.971 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.431, allocations: 267.5 kB / 0.9713 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.086e-05/1.431, allocations: 18.53 kB / 0.9713 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/1.433, allocations: 128 kB / 0.9714 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.752e-05/1.433, allocations: 51.98 kB / 0.9715 GB, free: 13.05 MB / 0.7169 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.0003553/1.433, allocations: 246 kB / 0.9717 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/1.434, allocations: 186.8 kB / 0.9719 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003018/1.437, allocations: 1.16 MB / 0.973 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/1.437, allocations: 8 kB / 0.973 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/1.437, allocations: 0 / 0.973 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002374/1.439, allocations: 1.233 MB / 0.9742 GB, free: 10.14 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 postOpt removeSimpleEquations (simulation): time 0.005734/1.445, allocations: 2.886 MB / 0.977 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.445, allocations: 0 / 0.977 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009431/1.446, allocations: 187.6 kB / 0.9772 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002275/1.446, allocations: 49.7 kB / 0.9773 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/1.446, allocations: 27.92 kB / 0.9773 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/1.448, allocations: 1.531 MB / 0.9788 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/1.448, allocations: 6.562 kB / 0.9788 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003918/1.451, allocations: 1.773 MB / 0.9805 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.453, allocations: 355.7 kB / 0.9809 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/1.453, allocations: 16 kB / 0.9809 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.454, allocations: 67.81 kB / 0.9809 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/1.454, allocations: 63.2 kB / 0.981 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/1.454, allocations: 31.98 kB / 0.981 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002327/1.457, allocations: 1.053 MB / 0.9821 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.31e-07/1.457, allocations: 0 / 0.9821 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004421/1.461, allocations: 0.9431 MB / 0.983 GB, free: 0.9375 MB / 0.7169 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.002065/1.463, allocations: 0.6082 MB / 0.9836 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004427/1.467, allocations: 1.775 MB / 0.9853 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.468, allocations: 4 kB / 0.9853 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/1.469, allocations: 0.6023 MB / 0.9859 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003941/1.473, allocations: 0.8231 MB / 0.9867 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/1.481, allocations: 3.651 MB / 0.9903 GB, free: 9.672 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.482, allocations: 1.487 MB / 0.9917 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001911/1.484, allocations: 446.3 kB / 0.9921 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000462/1.484, allocations: 131.4 kB / 0.9923 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/1.484, allocations: 0 / 0.9923 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of Templates: time 0.0607/1.545, allocations: 31.47 MB / 1.023 GB, free: 8.648 MB / 0.7637 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)