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.004756/0.004756, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001015/0.001015, allocations: 201.6 kB / 16.68 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2183/0.2183, allocations: 22.35 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 62.84 kB / 436.6 MB, free: 34.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1142, allocations: 54.96 MB / 491.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.004083/0.1183, allocations: 3.291 MB / 494.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.1201, allocations: 1.052 MB / 495.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.1203, allocations: 0 / 495.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.1204, allocations: 59.36 kB / 496 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000375/0.1208, allocations: 158.6 kB / 496.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1211, allocations: 211.6 kB / 496.3 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006184/0.1217, allocations: 0.7639 MB / 497.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003837/0.1221, allocations: 307 kB / 497.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003009/0.1224, allocations: 295.2 kB / 497.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.1227, allocations: 290.9 kB / 498 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.777e-05/0.1228, allocations: 68 kB / 498 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.684e-05/0.1229, allocations: 64 kB / 498.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.123, allocations: 143.6 kB / 498.2 MB, free: 11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.1233, allocations: 302.8 kB / 498.5 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.124, allocations: 0.6814 MB / 499.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.124, allocations: 0 / 499.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.124, allocations: 0 / 499.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.124, allocations: 0 / 499.2 MB, free: 10.02 MB / 366.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.001454/0.1255, allocations: 0.7954 MB / 500 MB, free: 9.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1255, allocations: 8.031 kB / 0.4883 GB, free: 9.172 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001015/0.1256, allocations: 98.7 kB / 0.4884 GB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.526e-05/0.1257, allocations: 52.61 kB / 0.4884 GB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1259, allocations: 219.7 kB / 0.4886 GB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.755e-05/0.1259, allocations: 45.69 kB / 0.4887 GB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.854e-05/0.126, allocations: 72.11 kB / 0.4887 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.1268, allocations: 498.4 kB / 0.4892 GB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.1269, allocations: 0 / 0.4892 GB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.468e-05/0.1269, allocations: 20 kB / 0.4892 GB, free: 8.133 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1269, allocations: 12 kB / 0.4893 GB, free: 8.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007598/0.1277, allocations: 493 kB / 0.4897 GB, free: 7.641 MB / 366.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.002339/0.1301, allocations: 1.641 MB / 0.4913 GB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008457/0.1309, allocations: 0.5042 MB / 0.4918 GB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003375/0.1313, allocations: 218.5 kB / 0.492 GB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.271e-05/0.1313, allocations: 12.55 kB / 0.492 GB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.1314, allocations: 50.94 kB / 0.4921 GB, free: 5.102 MB / 366.1 MB Notification: Performance of pre-optimization done (n=68): time 1.873e-06/0.1314, allocations: 0 / 0.4921 GB, free: 5.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.006086/0.1374, allocations: 2.417 MB / 0.4944 GB, free: 2.586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.1375, allocations: 60.06 kB / 0.4945 GB, free: 2.516 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.1377, allocations: 191.1 kB / 0.4947 GB, free: 2.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.1377, allocations: 33.7 kB / 0.4947 GB, free: 2.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1379, allocations: 197.3 kB / 0.4949 GB, free: 2.082 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/0.1381, allocations: 285.6 kB / 0.4952 GB, free: 1.801 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/0.1382, allocations: 98.34 kB / 0.4953 GB, free: 1.699 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1384, allocations: 346.8 kB / 0.4956 GB, free: 1.352 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.1387, allocations: 213.6 kB / 0.4958 GB, free: 1.137 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.1392, allocations: 266.9 kB / 0.4961 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007978/0.1471, allocations: 1.637 MB / 0.4977 GB, free: 15.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1472, allocations: 4 kB / 0.4977 GB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001747/0.1489, allocations: 0.7769 MB / 0.4984 GB, free: 14.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1489, allocations: 8 kB / 0.4984 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.149, allocations: 0 / 0.4984 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009192/0.1499, allocations: 194.3 kB / 0.4986 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/0.1537, allocations: 0.5033 MB / 0.4991 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008008/0.1617, allocations: 10.63 MB / 0.5095 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004251/0.1621, allocations: 20.02 kB / 0.5095 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.1622, allocations: 20 kB / 0.5095 GB, free: 2.059 MB / 382.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 = 1e5 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.0003001/0.1625, allocations: 189.5 kB / 0.5097 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.194e-05/0.1626, allocations: 39.81 kB / 0.5097 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.1647, allocations: 0.9357 MB / 0.5107 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.1647, allocations: 11.94 kB / 0.5107 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1647, allocations: 4 kB / 0.5107 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1647, allocations: 7.984 kB / 0.5107 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003109/0.1679, allocations: 1.888 MB / 0.5125 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.1679, allocations: 8 kB / 0.5125 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003367/0.1713, allocations: 467.5 kB / 0.513 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/0.1731, allocations: 338.2 kB / 0.5133 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.1732, allocations: 27.98 kB / 0.5133 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008888/0.1821, allocations: 10.81 MB / 0.5239 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.1821, allocations: 7.938 kB / 0.5239 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.1848, allocations: 1.405 MB / 0.5253 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.185, allocations: 117 kB / 0.5254 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.7e-05/0.1851, allocations: 27.98 kB / 0.5254 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.1855, allocations: 20 kB / 0.5254 GB, free: 488 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.1857, allocations: 80.34 kB / 0.5255 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.1857, allocations: 35.98 kB / 0.5255 GB, free: 372 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000145/0.1859, allocations: 140 kB / 0.5257 GB, free: 228 kB / 398.1 MB Notification: Performance of sort global known variables: time 2.886e-06/0.1859, allocations: 0 / 0.5257 GB, free: 228 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007826/0.1867, allocations: 183.8 kB / 0.5258 GB, free: 44 kB / 398.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.002863/0.1896, allocations: 1.962 MB / 0.5278 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004789/0.1944, allocations: 1.35 MB / 0.5291 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.1944, allocations: 0 / 0.5291 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003971/0.1984, allocations: 1.102 MB / 0.5301 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008059/0.1992, allocations: 128.5 kB / 0.5303 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007436/0.2066, allocations: 4.805 MB / 0.535 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.2071, allocations: 0.8403 MB / 0.5358 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003427/0.2075, allocations: 64.23 kB / 0.5358 GB, free: 5.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/0.2077, allocations: 155.4 kB / 0.536 GB, free: 5.164 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.2077, allocations: 0 / 0.536 GB, free: 5.164 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04096/0.2487, allocations: 12.79 MB / 0.5485 GB, free: 8.523 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.36, allocations: 7.938 kB / 0.5485 GB, free: 8.516 MB / 430.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)