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: "" <> buildModelFMU(AES.ProcessComponents.Thermal.Air.MAvolume,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_MAvolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Air.MAvolume,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_MAvolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, 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.001174/0.001174, allocations: 196 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2007/0.2007, allocations: 22.36 MB / 312.7 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.84 kB / 378.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2406, allocations: 54.94 MB / 433.8 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessComponents.Thermal.Air.MAvolume): time 0.002273/0.2429, allocations: 1.812 MB / 435.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007219/0.2437, allocations: 0.6442 MB / 436.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.2437, allocations: 0 / 436.2 MB, free: 37.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.799e-05/0.2438, allocations: 17.44 kB / 436.2 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.946e-05/0.2439, allocations: 53.23 kB / 436.3 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001569/0.2441, allocations: 52.09 kB / 436.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.2442, allocations: 192.5 kB / 436.5 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.2444, allocations: 64.77 kB / 436.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.2445, allocations: 87.77 kB / 436.7 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.2446, allocations: 86.17 kB / 436.8 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.2446, allocations: 16.47 kB / 436.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.87e-05/0.2447, allocations: 14.06 kB / 436.8 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.2447, allocations: 32.3 kB / 436.8 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.323e-05/0.2448, allocations: 77.81 kB / 436.9 MB, free: 36.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.2449, allocations: 132 kB / 437 MB, free: 36.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2449, allocations: 0 / 437 MB, free: 36.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2449, allocations: 0 / 437 MB, free: 36.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2449, allocations: 0 / 437 MB, free: 36.8 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.0005499/0.2455, allocations: 452.4 kB / 437.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2455, allocations: 10.66 kB / 437.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.2455, allocations: 54.92 kB / 437.5 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.2456, allocations: 16.31 kB / 437.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.589e-05/0.2457, allocations: 183.3 kB / 437.7 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.2457, allocations: 19.44 kB / 437.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.2457, allocations: 18.69 kB / 437.8 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.2459, allocations: 157.2 kB / 437.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.246, allocations: 0 / 437.9 MB, free: 36.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.246, allocations: 6.781 kB / 437.9 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.246, allocations: 2.969 kB / 437.9 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.2462, allocations: 125.2 kB / 438.1 MB, free: 35.98 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.0007681/0.2469, allocations: 0.5756 MB / 438.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.2473, allocations: 192.2 kB / 438.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.618e-05/0.2474, allocations: 64.11 kB / 438.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.2475, allocations: 0 / 438.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.098e-05/0.2475, allocations: 37.12 kB / 438.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.2475, allocations: 0 / 438.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.004126/0.2516, allocations: 1.432 MB / 440.4 MB, free: 34.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.2517, allocations: 54.16 kB / 440.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.2517, allocations: 111.2 kB / 440.5 MB, free: 34.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2517, allocations: 29.7 kB / 440.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.228e-05/0.2518, allocations: 113.1 kB / 440.7 MB, free: 34.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.2518, allocations: 123 kB / 440.8 MB, free: 34.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.2519, allocations: 50.41 kB / 440.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.972e-05/0.252, allocations: 324.5 kB / 441.1 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.2521, allocations: 82.59 kB / 441.2 MB, free: 33.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.2522, allocations: 132.3 kB / 441.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004097/0.2563, allocations: 0.8376 MB / 442.2 MB, free: 33.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.2563, allocations: 0 / 442.2 MB, free: 33.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001019/0.2574, allocations: 411.6 kB / 442.6 MB, free: 33.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2574, allocations: 5.312 kB / 442.6 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2574, allocations: 3.422 kB / 442.6 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008159/0.2582, allocations: 147.4 kB / 442.7 MB, free: 33.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.2593, allocations: 161.5 kB / 442.9 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003031/0.2623, allocations: 4.701 MB / 447.6 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.2625, allocations: 10.75 kB / 447.6 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.2626, allocations: 5.25 kB / 447.6 MB, free: 28.72 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.0002064/0.2628, allocations: 156 kB / 447.8 MB, free: 28.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.2628, allocations: 13.78 kB / 447.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.264, allocations: 468.3 kB / 448.2 MB, free: 28.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.264, allocations: 10.72 kB / 448.3 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2641, allocations: 0 / 448.3 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2641, allocations: 9.734 kB / 448.3 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00158/0.2657, allocations: 0.8437 MB / 449.1 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2657, allocations: 0 / 449.1 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009364/0.2666, allocations: 128.1 kB / 449.2 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00173/0.2684, allocations: 301.7 kB / 449.5 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.2684, allocations: 9.875 kB / 449.5 MB, free: 27.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003573/0.272, allocations: 4.935 MB / 454.5 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.272, allocations: 0 / 454.5 MB, free: 23.05 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.2733, allocations: 0.6459 MB / 455.1 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.2734, allocations: 91.42 kB / 455.2 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.2734, allocations: 4 kB / 455.2 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.2736, allocations: 10.78 kB / 455.2 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.449e-05/0.2737, allocations: 35.55 kB / 455.3 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.2737, allocations: 10.94 kB / 455.3 MB, free: 22.58 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.01e-05/0.2737, allocations: 87.88 kB / 455.3 MB, free: 22.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2737, allocations: 0 / 455.3 MB, free: 22.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004818/0.2742, allocations: 73.09 kB / 455.4 MB, free: 22.49 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.001488/0.2757, allocations: 1.192 MB / 456.6 MB, free: 21.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.2774, allocations: 0.6079 MB / 457.2 MB, free: 21.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2774, allocations: 3.812 kB / 457.2 MB, free: 21.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.2787, allocations: 0.5118 MB / 457.7 MB, free: 20.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.2791, allocations: 30.41 kB / 457.8 MB, free: 20.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.2825, allocations: 2.592 MB / 460.4 MB, free: 19.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.2826, allocations: 0.7317 MB / 461.1 MB, free: 18.35 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.2827, allocations: 21.36 kB / 461.1 MB, free: 18.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.662e-05/0.2828, allocations: 52.7 kB / 461.2 MB, free: 18.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2828, allocations: 4 kB / 461.2 MB, free: 18.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02674/0.3096, allocations: 5.478 MB / 466.6 MB, free: 17.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.83, allocations: 4.219 kB / 466.6 MB, free: 17.72 MB / 350.1 MB (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 & python3 -m fmpy simulate --output-file AES_AES.ProcessComponents.Thermal.Air.MAvolume_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessComponents_Thermal_Air_MAvolume.fmu > AES_AES.ProcessComponents.Thermal.Air.MAvolume.pipe 2>&1)