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.0009721/0.0009721, allocations: 92.55 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 173.6 kB / 16.92 MB, free: 6.656 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9801/0.9801, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 8.281 kB / 0.5082 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1707, allocations: 82.31 MB / 0.5886 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.5783/0.749, allocations: 254.7 MB / 0.8373 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02744/0.7765, allocations: 16.95 MB / 0.8539 GB, free: 12.77 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004566/0.7811, allocations: 87.44 kB / 0.854 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004634/0.7858, allocations: 1.232 MB / 0.8552 GB, free: 11.44 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/0.7979, allocations: 3.742 MB / 0.8588 GB, free: 7.688 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007291/0.8052, allocations: 2.292 MB / 0.8611 GB, free: 5.418 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.4505/1.256, allocations: 7.819 MB / 0.8687 GB, free: 20.95 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003286/1.259, allocations: 1.777 MB / 0.8705 GB, free: 20.79 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005917/1.265, allocations: 2.337 MB / 0.8727 GB, free: 20.78 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004548/1.27, allocations: 1.745 MB / 0.8744 GB, free: 20.77 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006498/1.27, allocations: 87.59 kB / 0.8745 GB, free: 20.77 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008328/1.279, allocations: 4.453 MB / 0.8789 GB, free: 20.77 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001476/1.28, allocations: 0.7177 MB / 0.8796 GB, free: 20.77 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002246/1.282, allocations: 1.205 MB / 0.8807 GB, free: 20.74 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005562/1.288, allocations: 3.661 MB / 0.8843 GB, free: 20.62 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.288, allocations: 0 / 0.8843 GB, free: 20.62 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.605e-06/1.288, allocations: 0 / 0.8843 GB, free: 20.62 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.15e-05/1.288, allocations: 0 / 0.8843 GB, free: 20.62 MB / 0.67 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.005593/1.294, allocations: 2.656 MB / 0.8869 GB, free: 19.18 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.294, allocations: 9.906 kB / 0.8869 GB, free: 19.18 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005219/1.299, allocations: 0.823 MB / 0.8877 GB, free: 19.03 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003964/1.303, allocations: 1.817 MB / 0.8895 GB, free: 18.51 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004846/1.303, allocations: 191.6 kB / 0.8897 GB, free: 18.5 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004217/1.304, allocations: 162.1 kB / 0.8898 GB, free: 18.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004191/1.308, allocations: 1.85 MB / 0.8916 GB, free: 18.31 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/1.308, allocations: 3.562 kB / 0.8916 GB, free: 18.31 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/1.308, allocations: 60.28 kB / 0.8917 GB, free: 18.31 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.559e-05/1.308, allocations: 60.55 kB / 0.8918 GB, free: 18.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/1.312, allocations: 1.619 MB / 0.8933 GB, free: 18.27 MB / 0.67 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.01513/1.327, allocations: 8.321 MB / 0.9015 GB, free: 14.25 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/1.33, allocations: 1.795 MB / 0.9032 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/1.332, allocations: 0.6967 MB / 0.9039 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005541/1.332, allocations: 240 kB / 0.9041 GB, free: 13.24 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/1.334, allocations: 0.6985 MB / 0.9048 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00136/1.335, allocations: 122.9 kB / 0.9049 GB, free: 13.13 MB / 0.67 GB Notification: Performance of pre-optimization done (n=102): time 8.195e-06/1.335, allocations: 0 / 0.9049 GB, free: 13.13 MB / 0.67 GB Notification: Performance of matching and sorting (n=105): time 0.01087/1.346, allocations: 3.731 MB / 0.9086 GB, free: 12.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/1.346, allocations: 67.14 kB / 0.9086 GB, free: 12.25 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/1.35, allocations: 1.543 MB / 0.9101 GB, free: 12.03 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002228/1.35, allocations: 52.39 kB / 0.9102 GB, free: 12 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/1.351, allocations: 0.9581 MB / 0.9111 GB, free: 11.66 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004875/1.352, allocations: 367.1 kB / 0.9115 GB, free: 11.43 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/1.352, allocations: 113.8 kB / 0.9116 GB, free: 11.42 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.352, allocations: 354.2 kB / 0.9119 GB, free: 11.11 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/1.354, allocations: 0.565 MB / 0.9125 GB, free: 11.11 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/1.355, allocations: 0.9132 MB / 0.9134 GB, free: 10.72 MB / 0.67 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.01664/1.372, allocations: 4.639 MB / 0.9179 GB, free: 10.09 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.842e-05/1.372, allocations: 0 / 0.9179 GB, free: 10.09 MB / 0.67 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004292/1.376, allocations: 1.735 MB / 0.9196 GB, free: 9.898 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002051/1.377, allocations: 345.8 kB / 0.9199 GB, free: 9.496 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/1.377, allocations: 13.41 kB / 0.9199 GB, free: 9.492 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002099/1.377, allocations: 42.17 kB / 0.92 GB, free: 9.484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.378, allocations: 312.2 kB / 0.9203 GB, free: 9.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/1.379, allocations: 1.507 MB / 0.9217 GB, free: 8.148 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002767/1.382, allocations: 189.7 kB / 0.9219 GB, free: 8.121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/1.382, allocations: 55.73 kB / 0.922 GB, free: 8.121 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/1.382, allocations: 7.5 kB / 0.922 GB, free: 8.117 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003311/1.386, allocations: 1.519 MB / 0.9235 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/1.386, allocations: 10.09 kB / 0.9235 GB, free: 8.031 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001542/1.386, allocations: 46.92 kB / 0.9235 GB, free: 8.023 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/1.387, allocations: 304.9 kB / 0.9238 GB, free: 8.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009623/1.388, allocations: 1.502 MB / 0.9253 GB, free: 6.691 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/1.39, allocations: 195.2 kB / 0.9255 GB, free: 6.664 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/1.391, allocations: 57.59 kB / 0.9255 GB, free: 6.664 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (151): * Single equations (assignments): 147 * 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.001367/1.392, allocations: 0.5829 MB / 0.9261 GB, free: 6.469 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006298/1.393, allocations: 193 kB / 0.9263 GB, free: 6.367 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003537/1.396, allocations: 1.47 MB / 0.9277 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/1.396, allocations: 11.28 kB / 0.9277 GB, free: 6.238 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/1.396, allocations: 4.719 kB / 0.9277 GB, free: 6.234 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002443/1.399, allocations: 1.213 MB / 0.9289 GB, free: 6.117 MB / 0.67 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.008445/1.407, allocations: 3.633 MB / 0.9325 GB, free: 5.465 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/1.407, allocations: 0 / 0.9325 GB, free: 5.465 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/1.408, allocations: 248.1 kB / 0.9327 GB, free: 5.461 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002636/1.409, allocations: 75.66 kB / 0.9328 GB, free: 5.441 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/1.409, allocations: 32.8 kB / 0.9328 GB, free: 5.438 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/1.411, allocations: 2.753 MB / 0.9355 GB, free: 2.918 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.411, allocations: 6.156 kB / 0.9355 GB, free: 2.918 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004494/1.415, allocations: 2.241 MB / 0.9377 GB, free: 2.57 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/1.416, allocations: 377.3 kB / 0.938 GB, free: 2.375 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005793/1.417, allocations: 28.81 kB / 0.9381 GB, free: 2.375 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/1.419, allocations: 190.2 kB / 0.9383 GB, free: 2.352 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/1.419, allocations: 69.11 kB / 0.9383 GB, free: 2.348 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/1.419, allocations: 41.42 kB / 0.9384 GB, free: 2.348 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002082/1.421, allocations: 1.039 MB / 0.9394 GB, free: 2.203 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/1.421, allocations: 0 / 0.9394 GB, free: 2.203 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004381/1.426, allocations: 0.9234 MB / 0.9403 GB, free: 2.184 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.001118/1.427, allocations: 373 kB / 0.9406 GB, free: 2.039 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005109/1.432, allocations: 2.493 MB / 0.9431 GB, free: 1.363 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.432, allocations: 0 / 0.9431 GB, free: 1.363 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/1.434, allocations: 0.87 MB / 0.9439 GB, free: 1.039 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00596/1.44, allocations: 0.9545 MB / 0.9448 GB, free: 0.75 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/1.45, allocations: 5.07 MB / 0.9498 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/1.451, allocations: 1.572 MB / 0.9513 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008341/1.452, allocations: 151.3 kB / 0.9515 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of SimCode: time 1.242e-06/1.452, allocations: 4 kB / 0.9515 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of Templates: time 0.06133/1.514, allocations: 46.58 MB / 0.997 GB, free: 364 kB / 0.7169 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)