Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00101/0.00101, allocations: 91.84 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.005362/0.005362, allocations: 175.3 kB / 16.27 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7953/0.7953, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 8 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4146, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.697/1.112, allocations: 254.7 MB / 0.8324 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02585/1.137, allocations: 16.96 MB / 0.849 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004787/1.142, allocations: 85 kB / 0.849 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.004206/1.147, allocations: 1.249 MB / 0.8503 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/1.158, allocations: 3.739 MB / 0.8539 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006933/1.165, allocations: 2.284 MB / 0.8561 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01206/1.177, allocations: 7.819 MB / 0.8638 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003339/1.181, allocations: 1.787 MB / 0.8655 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006088/1.187, allocations: 2.341 MB / 0.8678 GB, free: 1.617 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003958/1.191, allocations: 1.737 MB / 0.8695 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003285/1.191, allocations: 92.28 kB / 0.8696 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009378/1.201, allocations: 4.449 MB / 0.8739 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001205/1.202, allocations: 0.7109 MB / 0.8746 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002406/1.204, allocations: 1.216 MB / 0.8758 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009964/1.214, allocations: 5.011 MB / 0.8807 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.214, allocations: 0 / 0.8807 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/1.214, allocations: 0 / 0.8807 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.624e-05/1.214, allocations: 0 / 0.8807 GB, free: 1.254 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: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.005632/1.22, allocations: 2.646 MB / 0.8833 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/1.22, allocations: 9.969 kB / 0.8833 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004895/1.225, allocations: 0.8158 MB / 0.8841 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00325/1.228, allocations: 1.817 MB / 0.8859 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003931/1.229, allocations: 191 kB / 0.8861 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/1.229, allocations: 163 kB / 0.8862 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003386/1.232, allocations: 1.845 MB / 0.888 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/1.232, allocations: 0 / 0.888 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/1.233, allocations: 66.72 kB / 0.8881 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-05/1.233, allocations: 58.47 kB / 0.8881 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/1.236, allocations: 1.613 MB / 0.8897 GB, free: 13.7 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.01108/1.247, allocations: 8.331 MB / 0.8978 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/1.249, allocations: 1.799 MB / 0.8996 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001257/1.251, allocations: 0.688 MB / 0.9003 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005808/1.251, allocations: 245.6 kB / 0.9005 GB, free: 7.152 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/1.253, allocations: 0.7028 MB / 0.9012 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009155/1.254, allocations: 116.8 kB / 0.9013 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=102): time 3.877e-06/1.254, allocations: 0 / 0.9013 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of matching and sorting (n=105): time 0.00848/1.262, allocations: 3.732 MB / 0.905 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/1.262, allocations: 64.78 kB / 0.905 GB, free: 5.668 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/1.264, allocations: 1.545 MB / 0.9065 GB, free: 5.199 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/1.264, allocations: 55.11 kB / 0.9066 GB, free: 5.164 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007483/1.265, allocations: 0.9566 MB / 0.9075 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/1.265, allocations: 373.5 kB / 0.9079 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/1.266, allocations: 108.7 kB / 0.908 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.266, allocations: 354.5 kB / 0.9083 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/1.267, allocations: 0.5711 MB / 0.9089 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/1.268, allocations: 0.9057 MB / 0.9098 GB, free: 3.539 MB / 0.6544 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.01505/1.284, allocations: 4.629 MB / 0.9143 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.284, allocations: 2.625 kB / 0.9143 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003445/1.287, allocations: 1.742 MB / 0.916 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/1.287, allocations: 351 kB / 0.9163 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/1.287, allocations: 6.125 kB / 0.9163 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001675/1.287, allocations: 46.45 kB / 0.9164 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/1.289, allocations: 308.7 kB / 0.9167 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/1.29, allocations: 1.515 MB / 0.9181 GB, free: 15.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/1.292, allocations: 194.2 kB / 0.9183 GB, free: 15.32 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.292, allocations: 47.44 kB / 0.9184 GB, free: 15.28 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/1.292, allocations: 7.984 kB / 0.9184 GB, free: 15.27 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003012/1.295, allocations: 1.524 MB / 0.9199 GB, free: 14.24 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.295, allocations: 8 kB / 0.9199 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/1.295, allocations: 45.33 kB / 0.9199 GB, free: 14.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.297, allocations: 316.6 kB / 0.9202 GB, free: 13.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001209/1.298, allocations: 1.497 MB / 0.9217 GB, free: 12.41 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/1.3, allocations: 183.5 kB / 0.9219 GB, free: 12.26 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/1.301, allocations: 51.36 kB / 0.9219 GB, free: 12.21 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.001306/1.302, allocations: 0.5804 MB / 0.9225 GB, free: 11.83 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/1.302, allocations: 193.6 kB / 0.9227 GB, free: 11.64 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003188/1.305, allocations: 1.477 MB / 0.9241 GB, free: 10.61 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.305, allocations: 8 kB / 0.9241 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/1.305, allocations: 8 kB / 0.9241 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002544/1.308, allocations: 1.215 MB / 0.9253 GB, free: 9.715 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.007249/1.315, allocations: 3.637 MB / 0.9288 GB, free: 6.027 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.315, allocations: 0 / 0.9288 GB, free: 6.027 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.317, allocations: 250.2 kB / 0.9291 GB, free: 5.793 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/1.317, allocations: 77.67 kB / 0.9292 GB, free: 5.711 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.704e-05/1.317, allocations: 27.98 kB / 0.9292 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/1.319, allocations: 2.744 MB / 0.9319 GB, free: 2.688 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.319, allocations: 0 / 0.9319 GB, free: 2.688 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004627/1.324, allocations: 2.255 MB / 0.9341 GB, free: 412 kB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.325, allocations: 374.6 kB / 0.9344 GB, free: 16 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004899/1.325, allocations: 21.38 kB / 0.9344 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.327, allocations: 187.6 kB / 0.9346 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/1.327, allocations: 76.89 kB / 0.9347 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/1.327, allocations: 39.97 kB / 0.9347 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002039/1.33, allocations: 1.039 MB / 0.9357 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.272e-06/1.33, allocations: 0 / 0.9357 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003843/1.333, allocations: 0.9245 MB / 0.9367 GB, free: 13.71 MB / 0.6856 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.001163/1.335, allocations: 378.3 kB / 0.937 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005472/1.34, allocations: 2.488 MB / 0.9394 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.34, allocations: 0 / 0.9394 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/1.342, allocations: 0.8749 MB / 0.9403 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005407/1.347, allocations: 0.9503 MB / 0.9412 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009241/1.356, allocations: 4.96 MB / 0.9461 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/1.358, allocations: 1.579 MB / 0.9476 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00335/1.361, allocations: 0.5075 MB / 0.9481 GB, free: 2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007063/1.362, allocations: 146.1 kB / 0.9482 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of SimCode: time 2.415e-06/1.362, allocations: 0 / 0.9482 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of Templates: time 0.06409/1.426, allocations: 35.96 MB / 0.9834 GB, free: 14.5 MB / 0.7325 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)