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.007422/0.007422, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001799/0.001799, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09105/0.09105, allocations: 22.33 MB / 312.9 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 67.89 kB / 436.6 MB, free: 12.24 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1106, allocations: 54.96 MB / 491.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_004): time 0.004422/0.115, allocations: 3.553 MB / 495.1 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.1171, allocations: 1.103 MB / 496.2 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003557/0.1175, allocations: 4 kB / 496.2 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.1177, allocations: 67.28 kB / 496.2 MB, free: 492 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006879/0.1185, allocations: 182.4 kB / 496.4 MB, free: 308 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004109/0.1189, allocations: 207.7 kB / 496.6 MB, free: 100 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008832/0.1198, allocations: 0.8304 MB / 497.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005155/0.1203, allocations: 361 kB / 497.8 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004113/0.1207, allocations: 307.1 kB / 498.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.1212, allocations: 330.8 kB / 498.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.1214, allocations: 72 kB / 498.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1215, allocations: 72 kB / 498.6 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.1217, allocations: 147.6 kB / 498.7 MB, free: 14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.122, allocations: 334.6 kB / 499 MB, free: 13.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006955/0.1227, allocations: 0.755 MB / 499.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1228, allocations: 0 / 499.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1228, allocations: 0 / 499.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.1228, allocations: 0 / 499.8 MB, free: 12.91 MB / 382.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.001629/0.1244, allocations: 0.838 MB / 0.4889 GB, free: 12.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.1245, allocations: 12.03 kB / 0.4889 GB, free: 12.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.1246, allocations: 106.7 kB / 0.489 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1247, allocations: 64.56 kB / 0.4891 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001939/0.1249, allocations: 237.9 kB / 0.4893 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.125, allocations: 53.44 kB / 0.4894 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/0.1251, allocations: 60 kB / 0.4894 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009496/0.126, allocations: 0.5453 MB / 0.4899 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.126, allocations: 0 / 0.4899 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/0.1261, allocations: 28 kB / 0.49 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.1261, allocations: 16 kB / 0.49 GB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/0.127, allocations: 0.493 MB / 0.4905 GB, free: 10.36 MB / 382.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.002853/0.1299, allocations: 2.355 MB / 0.4928 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.131, allocations: 0.5799 MB / 0.4933 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.1314, allocations: 242.4 kB / 0.4936 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.1315, allocations: 12.55 kB / 0.4936 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1315, allocations: 39.12 kB / 0.4936 GB, free: 6.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 1.824e-06/0.1315, allocations: 0 / 0.4936 GB, free: 6.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=87): time 0.01208/0.1436, allocations: 3.961 MB / 0.4975 GB, free: 2.793 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.1437, allocations: 60.41 kB / 0.4975 GB, free: 2.719 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1438, allocations: 140.1 kB / 0.4977 GB, free: 2.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.1439, allocations: 41.7 kB / 0.4977 GB, free: 2.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.144, allocations: 225.2 kB / 0.4979 GB, free: 2.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.1442, allocations: 321.2 kB / 0.4982 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.1444, allocations: 114.7 kB / 0.4983 GB, free: 1.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1445, allocations: 346.7 kB / 0.4987 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004794/0.145, allocations: 273.9 kB / 0.4989 GB, free: 1.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005245/0.1455, allocations: 324.6 kB / 0.4992 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1935/0.3391, allocations: 2.171 MB / 0.5014 GB, free: 21.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3391, allocations: 0 / 0.5014 GB, free: 21.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002664/0.3418, allocations: 1.092 MB / 0.5024 GB, free: 21.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.3418, allocations: 3.969 kB / 0.5024 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3418, allocations: 4.391 kB / 0.5024 GB, free: 21.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001882/0.3437, allocations: 406 kB / 0.5028 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/0.3467, allocations: 424.5 kB / 0.5032 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008796/0.3555, allocations: 14.15 MB / 0.5171 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.356, allocations: 19.12 kB / 0.5171 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/0.356, allocations: 23.77 kB / 0.5171 GB, free: 8.375 MB / 382.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 = 1e5 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 = 1e5 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.0002889/0.3563, allocations: 209.3 kB / 0.5173 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.446e-05/0.3564, allocations: 40.42 kB / 0.5173 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00325/0.3597, allocations: 1.271 MB / 0.5186 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.3597, allocations: 9.938 kB / 0.5186 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3597, allocations: 3.5 kB / 0.5186 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3597, allocations: 5.594 kB / 0.5186 GB, free: 8.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/0.3636, allocations: 1.991 MB / 0.5205 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3636, allocations: 3.375 kB / 0.5205 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/0.3663, allocations: 386 kB / 0.5209 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003843/0.3701, allocations: 0.6888 MB / 0.5216 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.3702, allocations: 26.05 kB / 0.5216 GB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.3815, allocations: 14.68 MB / 0.5359 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3816, allocations: 1.562 kB / 0.5359 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004039/0.3856, allocations: 1.702 MB / 0.5376 GB, free: 10.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.148e-05/0.3857, allocations: 108.7 kB / 0.5377 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.382e-05/0.3858, allocations: 18.19 kB / 0.5377 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.3862, allocations: 20.41 kB / 0.5377 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002369/0.3865, allocations: 91.48 kB / 0.5378 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.3865, allocations: 30.7 kB / 0.5379 GB, free: 10.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.32e-05/0.3866, allocations: 107.6 kB / 0.538 GB, free: 10.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3866, allocations: 0 / 0.538 GB, free: 10.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009463/0.3876, allocations: 215.8 kB / 0.5382 GB, free: 9.98 MB / 398.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.004214/0.3918, allocations: 2.261 MB / 0.5404 GB, free: 8.613 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00494/0.3968, allocations: 1.822 MB / 0.5422 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3968, allocations: 0 / 0.5422 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004221/0.401, allocations: 1.565 MB / 0.5437 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000598/0.4016, allocations: 96.23 kB / 0.5438 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009499/0.4111, allocations: 5.408 MB / 0.5491 GB, free: 3.363 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.4116, allocations: 0.8805 MB / 0.5499 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003009/0.4119, allocations: 56.23 kB / 0.55 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.4122, allocations: 181.5 kB / 0.5501 GB, free: 2.395 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4122, allocations: 4 kB / 0.5501 GB, free: 2.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04194/0.4542, allocations: 15.55 MB / 0.5653 GB, free: 5.836 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.31, allocations: 11.28 kB / 0.5653 GB, free: 5.828 MB / 414.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)