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.001002/0.001002, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001084/0.001084, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2664/0.2664, allocations: 22.35 MB / 313.3 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003319, allocations: 8 kB / 379.8 MB, free: 12.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3595, allocations: 55.98 MB / 435.8 MB, free: 38.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.001695/0.3613, allocations: 1.397 MB / 437.2 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008002/0.3621, allocations: 0.6133 MB / 437.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.3622, allocations: 2.938 kB / 437.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.3622, allocations: 7.266 kB / 437.8 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.3623, allocations: 48.95 kB / 437.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.3625, allocations: 40.78 kB / 437.9 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3626, allocations: 124.3 kB / 438 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3628, allocations: 73.53 kB / 438.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3629, allocations: 78.48 kB / 438.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.3631, allocations: 82.02 kB / 438.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.3631, allocations: 8.969 kB / 438.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.851e-05/0.3631, allocations: 8.406 kB / 438.3 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.777e-05/0.3632, allocations: 28.17 kB / 438.3 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.3632, allocations: 52.92 kB / 438.4 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.3633, allocations: 90.39 kB / 438.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3633, allocations: 6.75 kB / 438.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3633, allocations: 0 / 438.4 MB, free: 36.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3634, allocations: 0 / 438.4 MB, free: 36.81 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.0005924/0.364, allocations: 421.3 kB / 438.9 MB, free: 36.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.364, allocations: 11.44 kB / 438.9 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.3641, allocations: 18.62 kB / 438.9 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.3642, allocations: 176.6 kB / 439.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3642, allocations: 12.12 kB / 439.1 MB, free: 36.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.3643, allocations: 19.25 kB / 439.1 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.3645, allocations: 156.2 kB / 439.2 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3646, allocations: 3.953 kB / 439.2 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/0.3646, allocations: 6.625 kB / 439.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3646, allocations: 2.719 kB / 439.3 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.3648, allocations: 125.6 kB / 439.4 MB, free: 36.06 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.000912/0.3657, allocations: 0.5726 MB / 440 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.3661, allocations: 190.3 kB / 440.1 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3662, allocations: 3.094 kB / 440.1 MB, free: 35.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.3662, allocations: 34.75 kB / 440.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.412e-06/0.3662, allocations: 0 / 440.2 MB, free: 35.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.004055/0.3703, allocations: 1.452 MB / 441.6 MB, free: 34.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.3703, allocations: 58.38 kB / 441.7 MB, free: 34.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.3704, allocations: 114 kB / 441.8 MB, free: 34.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.3704, allocations: 32.27 kB / 441.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.3705, allocations: 112.7 kB / 441.9 MB, free: 34.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.3705, allocations: 111.3 kB / 442 MB, free: 34.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.3705, allocations: 6.625 kB / 442.1 MB, free: 34.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.048e-05/0.3706, allocations: 324.7 kB / 442.4 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3707, allocations: 85.08 kB / 442.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.3709, allocations: 123.2 kB / 442.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.371, allocations: 104.4 kB / 442.7 MB, free: 33.89 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.371, allocations: 0 / 442.7 MB, free: 33.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001002/0.372, allocations: 422.7 kB / 443.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3721, allocations: 6.844 kB / 443.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3721, allocations: 96 / 443.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000902/0.373, allocations: 161.4 kB / 443.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009677/0.374, allocations: 160.2 kB / 443.4 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003235/0.3772, allocations: 4.371 MB / 447.8 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.3774, allocations: 10.09 kB / 447.8 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3774, allocations: 11.03 kB / 447.8 MB, free: 29.41 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002828/0.3777, allocations: 152.4 kB / 448 MB, free: 29.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.3778, allocations: 19.38 kB / 448 MB, free: 29.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.379, allocations: 471 kB / 448.4 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.379, allocations: 7 kB / 448.4 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.379, allocations: 10.81 kB / 448.4 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.379, allocations: 7.312 kB / 448.5 MB, free: 29.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.3806, allocations: 0.8472 MB / 449.3 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3807, allocations: 0 / 449.3 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/0.3815, allocations: 131.5 kB / 449.4 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001785/0.3833, allocations: 324.8 kB / 449.7 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.3833, allocations: 10.45 kB / 449.8 MB, free: 28.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003607/0.387, allocations: 4.592 MB / 454.3 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.387, allocations: 2.438 kB / 454.4 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.3883, allocations: 0.6747 MB / 455 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.41e-05/0.3884, allocations: 89.02 kB / 455.1 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3884, allocations: 6.906 kB / 455.1 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3886, allocations: 13.42 kB / 455.1 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.3887, allocations: 30.97 kB / 455.2 MB, free: 23.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3887, allocations: 16.95 kB / 455.2 MB, free: 23.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.343e-05/0.3888, allocations: 84.94 kB / 455.3 MB, free: 23.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3888, allocations: 0 / 455.3 MB, free: 23.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004722/0.3893, allocations: 73.78 kB / 455.3 MB, free: 23.5 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 4} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001179/0.3894, allocations: 103.7 kB / 455.4 MB, free: 23.41 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.001666/0.3911, allocations: 0.6193 MB / 456.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3911, allocations: 0 / 456.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.3924, allocations: 0.5225 MB / 456.6 MB, free: 22.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.3927, allocations: 28.09 kB / 456.6 MB, free: 22.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/0.3936, allocations: 0.7508 MB / 457.4 MB, free: 22.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.3938, allocations: 0.7437 MB / 458.1 MB, free: 21.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.3939, allocations: 19.48 kB / 458.1 MB, free: 21.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.394, allocations: 18 kB / 458.1 MB, free: 21.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.394, allocations: 4 kB / 458.1 MB, free: 21.53 MB / 350.1 MB Notification: Performance of Templates: time 0.006151/0.4002, allocations: 3.352 MB / 461.5 MB, free: 21.32 MB / 350.1 MB make -j1 -f AES_AES.ProcessComponents.Thermal.Air.MAvolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: