Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Air.MAvolume.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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.ProcessComponents.Thermal.Air.MAvolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Air.MAvolume") translateModel(AES.ProcessComponents.Thermal.Air.MAvolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.ProcessComponents.Thermal.Air.MAvolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 108 kB / 15.61 MB, free: 152 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.001634/0.001634, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2028/0.2028, allocations: 22.35 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001382, allocations: 67.89 kB / 378.7 MB, free: 12.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3504, allocations: 54.95 MB / 433.7 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.004109/0.3546, allocations: 1.804 MB / 435.5 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3558, allocations: 0.649 MB / 436.1 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.356, allocations: 0 / 436.1 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.957e-05/0.3561, allocations: 14.34 kB / 436.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.3563, allocations: 47.14 kB / 436.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.3565, allocations: 57.06 kB / 436.2 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002217/0.3568, allocations: 199.7 kB / 436.4 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.357, allocations: 70.34 kB / 436.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3572, allocations: 81.5 kB / 436.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.3573, allocations: 87.3 kB / 436.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.3573, allocations: 11.66 kB / 436.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.288e-05/0.3574, allocations: 11.5 kB / 436.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.3574, allocations: 36.3 kB / 436.7 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.285e-05/0.3575, allocations: 74.08 kB / 436.8 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.3577, allocations: 130.2 kB / 436.9 MB, free: 36.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.3577, allocations: 3.938 kB / 436.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3577, allocations: 0 / 436.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3577, allocations: 2.844 kB / 436.9 MB, free: 36.7 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.000662/0.3584, allocations: 443.3 kB / 437.3 MB, free: 36.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3584, allocations: 15.89 kB / 437.4 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.3585, allocations: 20.88 kB / 437.4 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3586, allocations: 181.4 kB / 437.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.3587, allocations: 12.53 kB / 437.6 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.401e-05/0.3587, allocations: 20.59 kB / 437.6 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002927/0.359, allocations: 158.6 kB / 437.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.359, allocations: 0 / 437.7 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.3591, allocations: 4 kB / 437.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.3591, allocations: 3.719 kB / 437.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002212/0.3593, allocations: 125.2 kB / 437.9 MB, free: 35.94 MB / 350.1 MB 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.001119/0.3604, allocations: 0.5866 MB / 438.5 MB, free: 35.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.3609, allocations: 184.8 kB / 438.6 MB, free: 35.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.361, allocations: 67.45 kB / 438.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.3611, allocations: 2.938 kB / 438.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3611, allocations: 34.56 kB / 438.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.833e-06/0.3611, allocations: 0 / 438.7 MB, free: 35.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.004284/0.3654, allocations: 1.427 MB / 440.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.3654, allocations: 58.28 kB / 440.2 MB, free: 34.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.3655, allocations: 109.2 kB / 440.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.3655, allocations: 36.33 kB / 440.4 MB, free: 34.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.3656, allocations: 107 kB / 440.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.113e-05/0.3657, allocations: 118.5 kB / 440.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.3657, allocations: 50.58 kB / 440.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.386e-05/0.3658, allocations: 329.1 kB / 441 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.366, allocations: 85.12 kB / 441 MB, free: 33.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.3661, allocations: 140.8 kB / 441.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003964/0.3701, allocations: 0.8295 MB / 442 MB, free: 33.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3701, allocations: 0 / 442 MB, free: 33.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000997/0.3711, allocations: 408.1 kB / 442.4 MB, free: 33.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3711, allocations: 8.562 kB / 442.4 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3712, allocations: 4 kB / 442.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008244/0.372, allocations: 148.9 kB / 442.6 MB, free: 33.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.3731, allocations: 162.2 kB / 442.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/0.3766, allocations: 4.698 MB / 447.4 MB, free: 28.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3768, allocations: 6.656 kB / 447.4 MB, free: 28.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.3768, allocations: 10.44 kB / 447.4 MB, free: 28.68 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: p:VARIABLE(min = 0.0 start = pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real T:VARIABLE(min = 0.0 start = Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.3772, allocations: 154.1 kB / 447.6 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.3772, allocations: 13.94 kB / 447.6 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.3785, allocations: 472.1 kB / 448.1 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.3785, allocations: 2.969 kB / 448.1 MB, free: 28.33 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3785, allocations: 4 kB / 448.1 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.3785, allocations: 10.12 kB / 448.1 MB, free: 28.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.3801, allocations: 0.8466 MB / 448.9 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3802, allocations: 0 / 448.9 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009287/0.3811, allocations: 135 kB / 449.1 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/0.3829, allocations: 302 kB / 449.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.3829, allocations: 10.75 kB / 449.4 MB, free: 27.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003702/0.3866, allocations: 4.924 MB / 454.3 MB, free: 23.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.3866, allocations: 2.844 kB / 454.3 MB, free: 23.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/0.388, allocations: 0.6459 MB / 454.9 MB, free: 22.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.388, allocations: 83.64 kB / 455 MB, free: 22.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.3881, allocations: 10.05 kB / 455 MB, free: 22.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.3882, allocations: 7.281 kB / 455 MB, free: 22.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.3883, allocations: 31.77 kB / 455.1 MB, free: 22.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.3883, allocations: 9.531 kB / 455.1 MB, free: 22.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.604e-05/0.3884, allocations: 83.48 kB / 455.2 MB, free: 22.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3884, allocations: 2.625 kB / 455.2 MB, free: 22.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004909/0.3889, allocations: 72.62 kB / 455.2 MB, free: 22.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (Ma,p,T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001078/0.389, allocations: 112.6 kB / 455.3 MB, free: 22.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.3907, allocations: 0.6206 MB / 456 MB, free: 22.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3907, allocations: 0 / 456 MB, free: 22.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.392, allocations: 0.5163 MB / 456.5 MB, free: 21.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3924, allocations: 40.31 kB / 456.5 MB, free: 21.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009268/0.3934, allocations: 0.6137 MB / 457.1 MB, free: 21.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.3935, allocations: 0.7331 MB / 457.9 MB, free: 20.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.3937, allocations: 22.12 kB / 457.9 MB, free: 20.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.831e-05/0.3937, allocations: 19.42 kB / 457.9 MB, free: 20.54 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3937, allocations: 0 / 457.9 MB, free: 20.54 MB / 350.1 MB Notification: Performance of Templates: time 0.007935/0.4017, allocations: 3.661 MB / 461.6 MB, free: 20.32 MB / 350.1 MB make -j1 -f AES_AES.ProcessComponents.Thermal.Air.MAvolume.makefile (rm -f AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe ; mkfifo AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe ; head -c 1048576 < AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe >> ../files/AES_AES.ProcessComponents.Thermal.Air.MAvolume.sim & ./AES_AES.ProcessComponents.Thermal.Air.MAvolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe 2>&1)