Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_004.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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_004,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_004",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.001138/0.001138, allocations: 108 kB / 15.6 MB, free: 132 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.001411/0.001412, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1842/0.1842, allocations: 22.35 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 381 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2246, allocations: 54.93 MB / 435.9 MB, free: 39.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.003397/0.228, allocations: 3.555 MB / 439.4 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.2292, allocations: 1.102 MB / 440.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.2294, allocations: 2.844 kB / 440.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2295, allocations: 66.02 kB / 440.6 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.2298, allocations: 188.3 kB / 440.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.2301, allocations: 207.7 kB / 441 MB, free: 36.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.2305, allocations: 0.8216 MB / 441.8 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003424/0.2309, allocations: 356.6 kB / 442.2 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.2311, allocations: 309.6 kB / 442.5 MB, free: 35.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002627/0.2314, allocations: 336.1 kB / 442.8 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.574e-05/0.2315, allocations: 71.03 kB / 442.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-05/0.2316, allocations: 72.81 kB / 442.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.595e-05/0.2317, allocations: 155.6 kB / 443.1 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002024/0.2319, allocations: 332.6 kB / 443.4 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003866/0.2323, allocations: 0.73 MB / 444.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2323, allocations: 0 / 444.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2323, allocations: 0 / 444.1 MB, free: 34.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.2323, allocations: 0 / 444.1 MB, free: 34.58 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001274/0.2336, allocations: 0.8398 MB / 445 MB, free: 33.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.2336, allocations: 8.625 kB / 445 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.415e-05/0.2337, allocations: 106.1 kB / 445.1 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.661e-05/0.2338, allocations: 56.91 kB / 445.2 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2339, allocations: 231.6 kB / 445.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.234, allocations: 54.22 kB / 445.4 MB, free: 33.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.71e-05/0.234, allocations: 67.31 kB / 445.5 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.2348, allocations: 0.5471 MB / 446 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.2348, allocations: 4 kB / 446.1 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.749e-05/0.2349, allocations: 25.72 kB / 446.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2349, allocations: 15.34 kB / 446.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.2356, allocations: 0.4927 MB / 446.6 MB, free: 33.14 MB / 350.1 MB Warning: Alias set with conflicting start values * Candidate: V1.T(start = V1.Tstart = 293.15, confidence number = 2) * Candidate: V1.air.T(start = 288.15, confidence number = 8) * Candidate: V1.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.hotPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Th(start = 288.15, confidence number = 7) => Select value from V1.T(start = V1.Tstart = 293.15) for variable: V1.T Warning: Alias set with conflicting start values * Candidate: V2.T(start = V2.Tstart = 293.15, confidence number = 2) * Candidate: V2.air.T(start = 288.15, confidence number = 8) * Candidate: V2.heatPort.T(start = 288.15, confidence number = 8) * Candidate: HP.coldPort.T(start = 288.15, confidence number = 8) * Candidate: HP.Tc(start = 288.15, confidence number = 7) => Select value from V2.T(start = V2.Tstart = 293.15) for variable: V2.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.2379, allocations: 2.367 MB / 449 MB, free: 31.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009927/0.2389, allocations: 0.5848 MB / 449.5 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.2392, allocations: 243.2 kB / 449.8 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.2393, allocations: 6.094 kB / 449.8 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.2393, allocations: 41.72 kB / 449.8 MB, free: 30.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=65): time 1.703e-06/0.2393, allocations: 0 / 449.8 MB, free: 30.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=87): time 0.01087/0.2502, allocations: 3.934 MB / 453.8 MB, free: 29.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.2502, allocations: 62.22 kB / 453.8 MB, free: 29.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.2503, allocations: 138.4 kB / 453.9 MB, free: 28.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.335e-05/0.2504, allocations: 40.95 kB / 454 MB, free: 28.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.2504, allocations: 225.8 kB / 454.2 MB, free: 28.73 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.2506, allocations: 302 kB / 454.5 MB, free: 28.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.2507, allocations: 123.8 kB / 454.6 MB, free: 28.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.2508, allocations: 347 kB / 455 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.2512, allocations: 268.6 kB / 455.2 MB, free: 27.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.2517, allocations: 333.8 kB / 455.6 MB, free: 27.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00985/0.2616, allocations: 2.179 MB / 457.7 MB, free: 27.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2616, allocations: 0 / 457.7 MB, free: 27.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002603/0.2642, allocations: 1.089 MB / 458.8 MB, free: 26.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2642, allocations: 7.594 kB / 458.8 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.2642, allocations: 5.969 kB / 458.8 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/0.2661, allocations: 407 kB / 459.2 MB, free: 26.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/0.2692, allocations: 427.9 kB / 459.7 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008969/0.2782, allocations: 14.14 MB / 473.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.2786, allocations: 25.23 kB / 473.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.803e-05/0.2787, allocations: 20.03 kB / 473.8 MB, free: 12.68 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: V1.p:VARIABLE(min = 0.0 start = V1.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V1.T:VARIABLE(min = 0.0 start = V1.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V2.p:VARIABLE(min = 0.0 start = V2.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V2.T:VARIABLE(min = 0.0 start = V2.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): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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): 5 systems {(2,5,100.0%), (2,5,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002866/0.279, allocations: 214.2 kB / 474 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/0.2791, allocations: 32.34 kB / 474.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003296/0.2824, allocations: 1.272 MB / 475.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.2824, allocations: 8.25 kB / 475.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2824, allocations: 2.75 kB / 475.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2824, allocations: 9.922 kB / 475.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/0.2864, allocations: 2.003 MB / 477.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.2864, allocations: 5.406 kB / 477.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002699/0.2891, allocations: 377 kB / 477.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003762/0.2929, allocations: 0.6927 MB / 478.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/0.2929, allocations: 26.62 kB / 478.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.3062, allocations: 14.67 MB / 493.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3062, allocations: 1.281 kB / 493.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003987/0.3102, allocations: 1.707 MB / 494.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.3103, allocations: 113.3 kB / 495 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.3104, allocations: 18.28 kB / 495 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.3108, allocations: 24.39 kB / 495 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/0.3111, allocations: 83.53 kB / 495.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.503e-05/0.3111, allocations: 28.53 kB / 495.1 MB, free: 11.6 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.068e-05/0.3112, allocations: 109 kB / 495.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3112, allocations: 0 / 495.2 MB, free: 11.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009526/0.3122, allocations: 216.1 kB / 495.4 MB, free: 11.48 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (V1.Mv,V1.p,V1.T,V2.Ma,V2.p,V2.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 (63): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 6 * 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): 3 systems {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%), (2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004208/0.3164, allocations: 2.264 MB / 497.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005392/0.3218, allocations: 1.842 MB / 499.5 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3218, allocations: 0 / 499.5 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004385/0.3262, allocations: 1.556 MB / 0.4893 GB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.3269, allocations: 89.8 kB / 0.4894 GB, free: 8.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009923/0.3368, allocations: 5.39 MB / 0.4947 GB, free: 3.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004334/0.3373, allocations: 0.8799 MB / 0.4956 GB, free: 2.656 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003704/0.3376, allocations: 60.16 kB / 0.4956 GB, free: 2.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000307/0.3379, allocations: 179.4 kB / 0.4958 GB, free: 2.418 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.338, allocations: 0 / 0.4958 GB, free: 2.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05557/0.3935, allocations: 15.29 MB / 0.5107 GB, free: 3.273 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.08, allocations: 13.36 kB / 0.5107 GB, free: 3.266 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_004.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_004.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_air_circ_004_res.csv --start-time 0 --stop-time 200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 AES_AES_Devel_test_models_Test_air_circ_004.fmu > AES_AES.Devel_test_models.Test_air_circ_004.pipe 2>&1)