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.0009048/0.0009046, allocations: 98.27 kB / 15.36 MB, free: 0.7305 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.001391/0.001391, allocations: 172.9 kB / 16.27 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.494/1.494, 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/AES main/package.mo): time 0.2075/0.2075, allocations: 22.34 MB / 313.8 MB, free: 13.1 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003688, allocations: 8 kB / 380.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3539, allocations: 55.98 MB / 436.5 MB, free: 38.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.00187/0.3558, allocations: 1.508 MB / 438 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007603/0.3566, allocations: 0.6436 MB / 438.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.864e-05/0.3566, allocations: 6.75 kB / 438.7 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.034e-05/0.3567, allocations: 10.5 kB / 438.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.3568, allocations: 40.11 kB / 438.7 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.357, allocations: 46.97 kB / 438.8 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.3572, allocations: 185.9 kB / 438.9 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.3574, allocations: 65.33 kB / 439 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.3575, allocations: 84.83 kB / 439.1 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.3576, allocations: 83.97 kB / 439.2 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.3576, allocations: 8.719 kB / 439.2 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.472e-05/0.3577, allocations: 8 kB / 439.2 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.3577, allocations: 32.47 kB / 439.2 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.3578, allocations: 101.6 kB / 439.3 MB, free: 36.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3579, allocations: 121.1 kB / 439.4 MB, free: 36.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3579, allocations: 4 kB / 439.4 MB, free: 36.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.358, allocations: 4 kB / 439.4 MB, free: 36.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.358, allocations: 0 / 439.4 MB, free: 36.54 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.000563/0.3585, allocations: 422.5 kB / 439.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3586, allocations: 11.47 kB / 439.9 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.3586, allocations: 24.38 kB / 439.9 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3588, allocations: 183.1 kB / 440.1 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3588, allocations: 15.16 kB / 440.1 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.3588, allocations: 21.12 kB / 440.1 MB, free: 35.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.3591, allocations: 157.8 kB / 440.3 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3591, allocations: 6.812 kB / 440.3 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.3592, allocations: 4 kB / 440.3 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.3592, allocations: 5.812 kB / 440.3 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.3594, allocations: 122.4 kB / 440.4 MB, free: 35.77 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.0008891/0.3603, allocations: 0.5658 MB / 441 MB, free: 35.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.3607, allocations: 190.4 kB / 441.1 MB, free: 35.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.222e-05/0.3608, allocations: 64.31 kB / 441.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.3608, allocations: 5.703 kB / 441.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.3608, allocations: 32.75 kB / 441.2 MB, free: 35.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.294e-06/0.3608, allocations: 4 kB / 441.3 MB, free: 35.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.004395/0.3652, allocations: 1.459 MB / 442.7 MB, free: 34.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.3653, allocations: 58.19 kB / 442.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.3653, allocations: 109.9 kB / 442.9 MB, free: 34.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.3654, allocations: 32.7 kB / 442.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.261e-05/0.3654, allocations: 113.8 kB / 443 MB, free: 34.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.3655, allocations: 113.9 kB / 443.1 MB, free: 34.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.003e-05/0.3655, allocations: 31.77 kB / 443.2 MB, free: 34.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.3656, allocations: 332.6 kB / 443.5 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.3657, allocations: 83.73 kB / 443.6 MB, free: 33.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.3659, allocations: 128.4 kB / 443.7 MB, free: 33.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004526/0.3704, allocations: 0.8812 MB / 444.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3704, allocations: 0 / 444.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001133/0.3716, allocations: 407.9 kB / 445 MB, free: 33.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3716, allocations: 5.406 kB / 445 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.3716, allocations: 0 / 445 MB, free: 33.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009892/0.3726, allocations: 168.1 kB / 445.1 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.3737, allocations: 153.1 kB / 445.3 MB, free: 33.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003462/0.3772, allocations: 4.356 MB / 449.6 MB, free: 28.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3774, allocations: 13.47 kB / 449.7 MB, free: 28.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.3774, allocations: 12.06 kB / 449.7 MB, free: 28.9 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: p:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real T:VARIABLE(min = max(0.0, max(0.0, 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 {(3,4,77.8%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002557/0.3777, allocations: 149.5 kB / 449.8 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.3777, allocations: 16.22 kB / 449.8 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/0.3791, allocations: 478.6 kB / 450.3 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3791, allocations: 5.219 kB / 450.3 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3792, allocations: 3.188 kB / 450.3 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3792, allocations: 2.938 kB / 450.3 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.3809, allocations: 0.8559 MB / 451.2 MB, free: 28.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.3809, allocations: 3.984 kB / 451.2 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009606/0.3819, allocations: 139.4 kB / 451.3 MB, free: 27.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002063/0.384, allocations: 323.7 kB / 451.6 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.384, allocations: 6.969 kB / 451.6 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003897/0.3879, allocations: 4.561 MB / 456.2 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3879, allocations: 96 / 456.2 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.3895, allocations: 0.6499 MB / 456.8 MB, free: 23.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.3895, allocations: 90.83 kB / 456.9 MB, free: 23.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.3896, allocations: 9.438 kB / 456.9 MB, free: 23.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/0.3898, allocations: 14.62 kB / 457 MB, free: 23.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.3899, allocations: 32.3 kB / 457 MB, free: 23.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.3899, allocations: 5.25 kB / 457 MB, free: 23.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.41e-05/0.3899, allocations: 96.05 kB / 457.1 MB, free: 23.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3899, allocations: 3.938 kB / 457.1 MB, free: 23.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005033/0.3904, allocations: 72.53 kB / 457.2 MB, free: 23.04 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 {(3,4,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000109/0.3905, allocations: 101.5 kB / 457.3 MB, free: 22.95 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.001877/0.3924, allocations: 0.6335 MB / 457.9 MB, free: 22.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.3925, allocations: 4 kB / 457.9 MB, free: 22.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001514/0.394, allocations: 0.5221 MB / 458.4 MB, free: 22.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3944, allocations: 36.34 kB / 458.5 MB, free: 22.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009151/0.3953, allocations: 0.7571 MB / 459.2 MB, free: 21.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001513/0.3955, allocations: 0.7345 MB / 459.9 MB, free: 21.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.3956, allocations: 23.16 kB / 460 MB, free: 21.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.3957, allocations: 17.78 kB / 460 MB, free: 21.04 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3957, allocations: 0 / 460 MB, free: 21.04 MB / 350.1 MB Notification: Performance of Templates: time 0.006966/0.4026, allocations: 3.476 MB / 463.5 MB, free: 20.84 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)