Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_001.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.Devel_test_models.Test_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_001,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_001",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.001144/0.001144, allocations: 108 kB / 15.6 MB, free: 128 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.001341/0.001341, allocations: 195.9 kB / 16.53 MB, free: 6.672 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.385/1.385, 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.1966/0.1966, allocations: 22.35 MB / 312.7 MB, free: 12.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001359, allocations: 59.91 kB / 380.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2556, allocations: 54.95 MB / 435.9 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.003338/0.259, allocations: 3.289 MB / 439.2 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2603, allocations: 1.064 MB / 440.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.2604, allocations: 4 kB / 440.2 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.683e-05/0.2605, allocations: 55.16 kB / 440.3 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.2609, allocations: 158.4 kB / 440.4 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.2611, allocations: 208.3 kB / 440.6 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004341/0.2616, allocations: 0.7618 MB / 441.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000337/0.2619, allocations: 314.3 kB / 441.7 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.2621, allocations: 290.9 kB / 442 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.2624, allocations: 292.9 kB / 442.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.352e-05/0.2625, allocations: 65.88 kB / 442.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.853e-05/0.2626, allocations: 65.12 kB / 442.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.157e-05/0.2627, allocations: 133.4 kB / 442.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.2629, allocations: 309.6 kB / 442.8 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.2633, allocations: 0.6615 MB / 443.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2633, allocations: 3 kB / 443.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2633, allocations: 0 / 443.5 MB, free: 34.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.796e-06/0.2633, allocations: 0 / 443.5 MB, free: 34.89 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.00128/0.2646, allocations: 0.784 MB / 444.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2647, allocations: 8.562 kB / 444.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.89e-05/0.2647, allocations: 97.95 kB / 444.4 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.2648, allocations: 53.81 kB / 444.4 MB, free: 34.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001235/0.265, allocations: 221.1 kB / 444.7 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.265, allocations: 44.47 kB / 444.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/0.2651, allocations: 61.53 kB / 444.8 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/0.2657, allocations: 498.7 kB / 445.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.2657, allocations: 0 / 445.3 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.2658, allocations: 24.73 kB / 445.3 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.2658, allocations: 22.25 kB / 445.3 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006702/0.2665, allocations: 491.6 kB / 445.8 MB, free: 33.54 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 291.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/0.2685, allocations: 1.639 MB / 447.4 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007743/0.2693, allocations: 0.5049 MB / 447.9 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.2696, allocations: 228.2 kB / 448.1 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.319e-05/0.2697, allocations: 15.89 kB / 448.2 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2697, allocations: 41.34 kB / 448.2 MB, free: 32.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=68): time 1.813e-06/0.2697, allocations: 0 / 448.2 MB, free: 32.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=78): time 0.005622/0.2754, allocations: 2.403 MB / 450.6 MB, free: 30.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.2754, allocations: 64.62 kB / 450.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2756, allocations: 188.9 kB / 450.9 MB, free: 30.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.2756, allocations: 36.36 kB / 450.9 MB, free: 30.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.55e-05/0.2757, allocations: 189.4 kB / 451.1 MB, free: 30.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.2759, allocations: 264.6 kB / 451.3 MB, free: 30.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.276, allocations: 103.6 kB / 451.4 MB, free: 30.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.2761, allocations: 348.8 kB / 451.8 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.2764, allocations: 209.7 kB / 452 MB, free: 29.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.2768, allocations: 271.3 kB / 452.2 MB, free: 29.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00756/0.2844, allocations: 1.646 MB / 453.9 MB, free: 29.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2844, allocations: 0 / 453.9 MB, free: 29.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001631/0.286, allocations: 0.7752 MB / 454.7 MB, free: 28.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.2861, allocations: 8.125 kB / 454.7 MB, free: 28.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2861, allocations: 0 / 454.7 MB, free: 28.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009012/0.287, allocations: 187.8 kB / 454.9 MB, free: 28.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003754/0.2907, allocations: 0.5043 MB / 455.4 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006192/0.2969, allocations: 10.63 MB / 466 MB, free: 18.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.2974, allocations: 14.19 kB / 466 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.2974, allocations: 25.38 kB / 466 MB, free: 18.06 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: V.p:VARIABLE(min = 0.0 start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 0.0 start = V.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: 2 * 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 (75): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002909/0.2977, allocations: 192 kB / 466.2 MB, free: 17.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.656e-05/0.2978, allocations: 37.44 kB / 466.2 MB, free: 17.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002046/0.2999, allocations: 0.9362 MB / 467.2 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.2999, allocations: 12.56 kB / 467.2 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2999, allocations: 1.062 kB / 467.2 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.2999, allocations: 7.75 kB / 467.2 MB, free: 17.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.3028, allocations: 1.894 MB / 469.1 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.3028, allocations: 5.906 kB / 469.1 MB, free: 16.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003306/0.3061, allocations: 469.9 kB / 469.6 MB, free: 16.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.308, allocations: 331.2 kB / 469.9 MB, free: 16.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/0.3081, allocations: 25.08 kB / 469.9 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0067/0.3148, allocations: 10.81 MB / 480.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/0.3148, allocations: 10.38 kB / 480.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.3173, allocations: 1.401 MB / 482.1 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.838e-05/0.3174, allocations: 117.3 kB / 482.2 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.3175, allocations: 22.38 kB / 482.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004333/0.3179, allocations: 23.17 kB / 482.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.3181, allocations: 84.86 kB / 482.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.768e-05/0.3181, allocations: 36.7 kB / 482.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3182, allocations: 139.3 kB / 482.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3183, allocations: 0 / 482.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007898/0.3191, allocations: 170.8 kB / 482.7 MB, free: 4.297 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,V.p,V.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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 1, 1, 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002537/0.3216, allocations: 1.964 MB / 484.7 MB, free: 2.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004896/0.3265, allocations: 1.37 MB / 486 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.3265, allocations: 1.125 kB / 486 MB, free: 2.266 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003984/0.3305, allocations: 1.105 MB / 487.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.3314, allocations: 134.8 kB / 487.3 MB, free: 1.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007374/0.3388, allocations: 4.815 MB / 492.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.3393, allocations: 0.842 MB / 492.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004465/0.3397, allocations: 64.3 kB / 493 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.34, allocations: 156.2 kB / 493.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.34, allocations: 5.031 kB / 493.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05748/0.3975, allocations: 12.55 MB / 0.4939 GB, free: 5.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.96, allocations: 15.5 kB / 0.4939 GB, free: 5.051 MB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_001.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_air_circ_001_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.03 AES_AES_Devel_test_models_Test_air_circ_001.fmu > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)