Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001099/0.001099, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.005525/0.005525, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7911/0.7911, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000391/0.0003911, allocations: 12 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4844/0.4848, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2415/0.7263, allocations: 230.6 MB / 0.8088 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4329/1.159, allocations: 15.69 MB / 0.8241 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0039/1.163, allocations: 78.66 kB / 0.8242 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004129/1.167, allocations: 1.14 MB / 0.8253 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009825/1.177, allocations: 3.183 MB / 0.8284 GB, free: 2.352 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007599/1.185, allocations: 2.225 MB / 0.8306 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009826/1.195, allocations: 6.54 MB / 0.837 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004301/1.199, allocations: 1.591 MB / 0.8385 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007298/1.206, allocations: 2.351 MB / 0.8408 GB, free: 2.027 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004412/1.211, allocations: 1.525 MB / 0.8423 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0008528/1.212, allocations: 78.72 kB / 0.8424 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008424/1.22, allocations: 3.737 MB / 0.8461 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001513/1.222, allocations: 0.6275 MB / 0.8467 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003253/1.225, allocations: 1.072 MB / 0.8477 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009956/1.235, allocations: 4.299 MB / 0.8519 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.235, allocations: 3.219 kB / 0.8519 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.505e-06/1.235, allocations: 0 / 0.8519 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001595/1.235, allocations: 0 / 0.8519 GB, free: 1.691 MB / 0.6387 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.006403/1.241, allocations: 2.425 MB / 0.8543 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.241, allocations: 15.72 kB / 0.8543 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005472/1.247, allocations: 0.8046 MB / 0.8551 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/1.252, allocations: 1.669 MB / 0.8567 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004659/1.253, allocations: 176.9 kB / 0.8569 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005532/1.253, allocations: 139.9 kB / 0.857 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/1.257, allocations: 1.676 MB / 0.8587 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/1.258, allocations: 8.922 kB / 0.8587 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/1.258, allocations: 51.97 kB / 0.8587 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.097e-05/1.258, allocations: 55.23 kB / 0.8588 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003671/1.261, allocations: 1.489 MB / 0.8602 GB, free: 15.43 MB / 0.6544 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.01252/1.274, allocations: 7.602 MB / 0.8676 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00313/1.277, allocations: 1.638 MB / 0.8692 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/1.279, allocations: 0.5392 MB / 0.8698 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001662/1.28, allocations: 0.8112 MB / 0.8706 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/1.282, allocations: 0.5854 MB / 0.8711 GB, free: 9.996 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001382/1.283, allocations: 117.3 kB / 0.8712 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 1.416e-05/1.283, allocations: 0.875 kB / 0.8712 GB, free: 9.957 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.004875/1.288, allocations: 1.657 MB / 0.8729 GB, free: 9.699 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/1.288, allocations: 66.92 kB / 0.8729 GB, free: 9.633 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/1.291, allocations: 1.564 MB / 0.8745 GB, free: 9.418 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.291, allocations: 46.83 kB / 0.8745 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009804/1.292, allocations: 0.916 MB / 0.8754 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/1.293, allocations: 308.8 kB / 0.8757 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/1.293, allocations: 97.09 kB / 0.8758 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001665/1.293, allocations: 353.2 kB / 0.8761 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/1.294, allocations: 465.9 kB / 0.8766 GB, free: 8.336 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/1.296, allocations: 0.8069 MB / 0.8774 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002428/1.298, allocations: 1.27 MB / 0.8786 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.298, allocations: 2.719 kB / 0.8786 GB, free: 7.375 MB / 0.6544 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003291/1.301, allocations: 1.473 MB / 0.88 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000291/1.302, allocations: 370.2 kB / 0.8804 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/1.302, allocations: 9.438 kB / 0.8804 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/1.302, allocations: 15.09 kB / 0.8804 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.303, allocations: 280.6 kB / 0.8807 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.625e-05/1.303, allocations: 27.05 kB / 0.8807 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.305, allocations: 159.7 kB / 0.8809 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/1.305, allocations: 49.42 kB / 0.8809 GB, free: 6.504 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/1.305, allocations: 9.625 kB / 0.8809 GB, free: 6.5 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002729/1.308, allocations: 1.269 MB / 0.8822 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/1.308, allocations: 9.188 kB / 0.8822 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/1.308, allocations: 12.34 kB / 0.8822 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/1.309, allocations: 283.5 kB / 0.8824 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/1.309, allocations: 17.88 kB / 0.8825 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/1.311, allocations: 162.7 kB / 0.8826 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/1.311, allocations: 51.3 kB / 0.8827 GB, free: 6.191 MB / 0.6544 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 (133): * Single equations (assignments): 131 * 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.001001/1.312, allocations: 0.5338 MB / 0.8832 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/1.312, allocations: 174.2 kB / 0.8834 GB, free: 5.875 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002997/1.315, allocations: 1.216 MB / 0.8845 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.315, allocations: 12.59 kB / 0.8846 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.239e-05/1.315, allocations: 3.938 kB / 0.8846 GB, free: 5.559 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002354/1.318, allocations: 1.28 MB / 0.8858 GB, free: 4.953 MB / 0.6544 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.006259/1.324, allocations: 2.968 MB / 0.8887 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.324, allocations: 0 / 0.8887 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009669/1.325, allocations: 202.8 kB / 0.8889 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/1.325, allocations: 50.98 kB / 0.8889 GB, free: 3.762 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/1.325, allocations: 21.52 kB / 0.889 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/1.327, allocations: 1.414 MB / 0.8903 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.327, allocations: 2.938 kB / 0.8903 GB, free: 2.453 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/1.331, allocations: 1.837 MB / 0.8921 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008065/1.331, allocations: 336 kB / 0.8925 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000329/1.332, allocations: 23.66 kB / 0.8925 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.333, allocations: 154.1 kB / 0.8926 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.333, allocations: 63.67 kB / 0.8927 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-05/1.333, allocations: 32.45 kB / 0.8927 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001755/1.335, allocations: 1.054 MB / 0.8938 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/1.335, allocations: 0 / 0.8938 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00315/1.338, allocations: 0.9617 MB / 0.8947 GB, free: 1.184 MB / 0.6544 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 (85): * Single equations (assignments): 82 * 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.001654/1.34, allocations: 0.6069 MB / 0.8953 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00447/1.344, allocations: 1.854 MB / 0.8971 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.345, allocations: 0 / 0.8971 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001403/1.346, allocations: 0.6375 MB / 0.8977 GB, free: 388 kB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/1.351, allocations: 0.7783 MB / 0.8985 GB, free: 136 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009836/1.36, allocations: 4.491 MB / 0.9029 GB, free: 13.51 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001566/1.362, allocations: 1.493 MB / 0.9043 GB, free: 12.32 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002396/1.364, allocations: 446.5 kB / 0.9047 GB, free: 11.88 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/1.365, allocations: 127.4 kB / 0.9049 GB, free: 11.76 MB / 0.67 GB Notification: Performance of SimCode: time 1.202e-06/1.365, allocations: 0 / 0.9049 GB, free: 11.76 MB / 0.67 GB Notification: Performance of Templates: time 0.05518/1.42, allocations: 30.36 MB / 0.9345 GB, free: 14.02 MB / 0.7012 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)