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.0009255/0.0009255, allocations: 98.72 kB / 16.02 MB, free: 76 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.001073/0.001073, allocations: 181.6 kB / 16.92 MB, free: 6.918 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.295/1.295, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2086/0.2086, allocations: 22.34 MB / 314.4 MB, free: 13.15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002975, allocations: 8 kB / 381.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2757, allocations: 55.97 MB / 437.2 MB, free: 38.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.001523/0.2773, allocations: 1.514 MB / 438.7 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007825/0.2781, allocations: 0.6456 MB / 439.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.836e-05/0.2782, allocations: 0 / 439.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.2782, allocations: 10.5 kB / 439.3 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.2784, allocations: 44.34 kB / 439.4 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.2786, allocations: 43.39 kB / 439.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001595/0.2787, allocations: 191.8 kB / 439.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.2789, allocations: 70.48 kB / 439.7 MB, free: 36.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.279, allocations: 73.27 kB / 439.7 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.2791, allocations: 79.78 kB / 439.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.978e-05/0.2792, allocations: 8.156 kB / 439.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.707e-05/0.2792, allocations: 12.59 kB / 439.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.2793, allocations: 35.47 kB / 439.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.144e-05/0.2793, allocations: 99.25 kB / 440 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.164e-05/0.2794, allocations: 92.23 kB / 440.1 MB, free: 36.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2794, allocations: 2.875 kB / 440.1 MB, free: 36.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2794, allocations: 0 / 440.1 MB, free: 36.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2795, allocations: 0 / 440.1 MB, free: 36.47 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.0005151/0.28, allocations: 419.8 kB / 440.5 MB, free: 36.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.28, allocations: 16.53 kB / 440.5 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.2801, allocations: 17.59 kB / 440.5 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.575e-05/0.2801, allocations: 179.1 kB / 440.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.2802, allocations: 12.69 kB / 440.7 MB, free: 35.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.2802, allocations: 23.73 kB / 440.7 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.2804, allocations: 156.2 kB / 440.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2805, allocations: 0 / 440.9 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2805, allocations: 8 kB / 440.9 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.2805, allocations: 9.281 kB / 440.9 MB, free: 35.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.2807, allocations: 127.6 kB / 441 MB, free: 35.71 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.0008027/0.2815, allocations: 0.5737 MB / 441.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.2819, allocations: 185.7 kB / 441.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.282, allocations: 62.23 kB / 441.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.282, allocations: 7.453 kB / 441.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.282, allocations: 41.78 kB / 441.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.282, allocations: 0 / 441.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.004206/0.2863, allocations: 1.457 MB / 443.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.611e-05/0.2863, allocations: 54.41 kB / 443.4 MB, free: 34.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.186e-05/0.2864, allocations: 105.9 kB / 443.5 MB, free: 34.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.2864, allocations: 29.7 kB / 443.5 MB, free: 34.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.2864, allocations: 113.1 kB / 443.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.2865, allocations: 112.4 kB / 443.7 MB, free: 34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.2865, allocations: 34.03 kB / 443.8 MB, free: 33.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.023e-05/0.2866, allocations: 333.9 kB / 444.1 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.2867, allocations: 86.38 kB / 444.2 MB, free: 33.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.2868, allocations: 130.2 kB / 444.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004514/0.2913, allocations: 0.8776 MB / 445.2 MB, free: 33.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2914, allocations: 0 / 445.2 MB, free: 33.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001105/0.2925, allocations: 412.1 kB / 445.6 MB, free: 33.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2925, allocations: 9.891 kB / 445.6 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2925, allocations: 0 / 445.6 MB, free: 33.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009978/0.2935, allocations: 160.7 kB / 445.8 MB, free: 33.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.2946, allocations: 159.5 kB / 445.9 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/0.2979, allocations: 4.35 MB / 450.3 MB, free: 28.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.2981, allocations: 14.03 kB / 450.3 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.2981, allocations: 12.78 kB / 450.3 MB, free: 28.84 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.0002426/0.2984, allocations: 151.6 kB / 450.4 MB, free: 28.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.2984, allocations: 16.34 kB / 450.5 MB, free: 28.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.2998, allocations: 483.3 kB / 450.9 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2998, allocations: 3 kB / 450.9 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.2998, allocations: 3.031 kB / 450.9 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.2999, allocations: 3.328 kB / 450.9 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.3016, allocations: 0.8558 MB / 451.8 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.3016, allocations: 0 / 451.8 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008908/0.3025, allocations: 130.3 kB / 451.9 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002008/0.3045, allocations: 328.8 kB / 452.2 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.3045, allocations: 10.84 kB / 452.3 MB, free: 27.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003689/0.3082, allocations: 4.562 MB / 456.8 MB, free: 23.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3083, allocations: 0 / 456.8 MB, free: 23.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.3097, allocations: 0.6466 MB / 457.5 MB, free: 23.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.3098, allocations: 94.17 kB / 457.6 MB, free: 23.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.3098, allocations: 6.625 kB / 457.6 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.31, allocations: 10.16 kB / 457.6 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.486e-05/0.3101, allocations: 28.5 kB / 457.6 MB, free: 23.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3101, allocations: 13.06 kB / 457.6 MB, free: 23.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.725e-05/0.3102, allocations: 93.58 kB / 457.7 MB, free: 23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3102, allocations: 0 / 457.7 MB, free: 23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.3106, allocations: 71.97 kB / 457.8 MB, free: 22.99 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.0001032/0.3107, allocations: 107.1 kB / 457.9 MB, free: 22.89 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.001724/0.3125, allocations: 0.6225 MB / 458.5 MB, free: 22.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3125, allocations: 2.938 kB / 458.5 MB, free: 22.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.3138, allocations: 0.5204 MB / 459 MB, free: 22.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.3142, allocations: 36.94 kB / 459.1 MB, free: 22.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000903/0.3152, allocations: 0.7954 MB / 459.9 MB, free: 21.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.3153, allocations: 0.7315 MB / 460.6 MB, free: 20.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.153e-05/0.3154, allocations: 16.53 kB / 460.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3154, allocations: 4 kB / 460.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of Templates: time 0.005826/0.3212, allocations: 4.209 MB / 464.8 MB, free: 20.7 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)