Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",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.006664/0.006664, allocations: 97.78 kB / 15.73 MB, free: 5.996 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.001622/0.001622, allocations: 186 kB / 16.67 MB, free: 5.926 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1911/0.1911, allocations: 22.34 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 66.34 kB / 436.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08472/0.08595, allocations: 54.96 MB / 491.6 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.00369/0.08967, allocations: 3.508 MB / 495.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.09149, allocations: 1.103 MB / 496.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.09165, allocations: 4 kB / 496.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.09178, allocations: 63.28 kB / 496.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003931/0.09221, allocations: 186.4 kB / 496.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.09252, allocations: 215.7 kB / 496.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006345/0.09317, allocations: 0.8455 MB / 497.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.09373, allocations: 443.9 kB / 497.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003976/0.09414, allocations: 351.1 kB / 498.2 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.09459, allocations: 394.7 kB / 498.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.09471, allocations: 83.94 kB / 498.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.09483, allocations: 84 kB / 498.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001396/0.09497, allocations: 175.5 kB / 499 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002915/0.09527, allocations: 350.6 kB / 499.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006914/0.09597, allocations: 0.8294 MB / 0.4884 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.09598, allocations: 0 / 0.4884 GB, free: 9.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.09599, allocations: 3.938 kB / 0.4884 GB, free: 9.082 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.09601, allocations: 0 / 0.4884 GB, free: 9.082 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001747/0.09776, allocations: 0.881 MB / 0.4893 GB, free: 8.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.0978, allocations: 8.031 kB / 0.4893 GB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.09792, allocations: 106.7 kB / 0.4894 GB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.09804, allocations: 60.61 kB / 0.4894 GB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.09823, allocations: 247.4 kB / 0.4897 GB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.93e-05/0.09828, allocations: 45.69 kB / 0.4897 GB, free: 7.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/0.09838, allocations: 64.12 kB / 0.4898 GB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.09939, allocations: 0.6077 MB / 0.4904 GB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.09941, allocations: 0 / 0.4904 GB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.09948, allocations: 24 kB / 0.4904 GB, free: 6.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.0995, allocations: 16 kB / 0.4904 GB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009908/0.1005, allocations: 0.5985 MB / 0.491 GB, free: 6.328 MB / 366.1 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.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 = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003009/0.1035, allocations: 1.939 MB / 0.4929 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.105, allocations: 0.6861 MB / 0.4936 GB, free: 3.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004701/0.1054, allocations: 318.7 kB / 0.4939 GB, free: 3.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.1055, allocations: 13.44 kB / 0.4939 GB, free: 3.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1055, allocations: 35.22 kB / 0.4939 GB, free: 3.227 MB / 366.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004386/0.106, allocations: 115.5 kB / 0.494 GB, free: 3.113 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.555e-06/0.106, allocations: 0 / 0.494 GB, free: 3.113 MB / 366.1 MB Notification: Performance of matching and sorting (n=90): time 0.007049/0.1131, allocations: 2.933 MB / 0.4969 GB, free: 80 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.1131, allocations: 60.41 kB / 0.497 GB, free: 8 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/0.1133, allocations: 190.9 kB / 0.4971 GB, free: 15.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.1134, allocations: 49.62 kB / 0.4972 GB, free: 15.76 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1135, allocations: 197.3 kB / 0.4974 GB, free: 15.56 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.1137, allocations: 321.2 kB / 0.4977 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.1139, allocations: 134.6 kB / 0.4978 GB, free: 15.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.114, allocations: 362.7 kB / 0.4981 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004806/0.1145, allocations: 277.9 kB / 0.4984 GB, free: 14.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.1151, allocations: 336.6 kB / 0.4987 GB, free: 14.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01497/0.13, allocations: 2.817 MB / 0.5015 GB, free: 11.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1301, allocations: 4 kB / 0.5015 GB, free: 11.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00209/0.1322, allocations: 0.937 MB / 0.5024 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1322, allocations: 4 kB / 0.5024 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.1322, allocations: 0 / 0.5024 GB, free: 10.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009427/0.1332, allocations: 194.3 kB / 0.5026 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003917/0.1371, allocations: 0.5384 MB / 0.5031 GB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009144/0.1463, allocations: 10.62 MB / 0.5135 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/0.1469, allocations: 24.02 kB / 0.5135 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.147, allocations: 27.97 kB / 0.5135 GB, free: 13.94 MB / 398.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 (87): * Single equations (assignments): 80 * 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.0004252/0.1474, allocations: 198.6 kB / 0.5137 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.1476, allocations: 43.72 kB / 0.5138 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00255/0.1502, allocations: 1.175 MB / 0.5149 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.1502, allocations: 12 kB / 0.5149 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1502, allocations: 0 / 0.5149 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-06/0.1502, allocations: 3.984 kB / 0.5149 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003801/0.154, allocations: 2.139 MB / 0.517 GB, free: 10.2 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.154, allocations: 8.062 kB / 0.517 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003502/0.1576, allocations: 0.5079 MB / 0.5175 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.1595, allocations: 338.1 kB / 0.5178 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-05/0.1596, allocations: 24 kB / 0.5179 GB, free: 9.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009752/0.1693, allocations: 10.87 MB / 0.5285 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.1694, allocations: 11.94 kB / 0.5285 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003039/0.1724, allocations: 1.675 MB / 0.5301 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.1726, allocations: 128.8 kB / 0.5303 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.1727, allocations: 27.94 kB / 0.5303 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/0.1733, allocations: 27.98 kB / 0.5303 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.1735, allocations: 100.4 kB / 0.5304 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.793e-05/0.1735, allocations: 32 kB / 0.5304 GB, free: 11.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.1737, allocations: 155.2 kB / 0.5306 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1737, allocations: 0 / 0.5306 GB, free: 11.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000822/0.1745, allocations: 196 kB / 0.5308 GB, free: 11 MB / 414.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 (86): * Single equations (assignments): 79 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003206/0.1777, allocations: 2.238 MB / 0.533 GB, free: 8.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005154/0.1829, allocations: 1.521 MB / 0.5344 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.1829, allocations: 4 kB / 0.5344 GB, free: 7.078 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004283/0.1872, allocations: 1.204 MB / 0.5356 GB, free: 5.836 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.1882, allocations: 165.3 kB / 0.5358 GB, free: 5.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008661/0.1969, allocations: 5.43 MB / 0.5411 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.1974, allocations: 0.8725 MB / 0.5419 GB, free: 15.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004309/0.1978, allocations: 88.56 kB / 0.542 GB, free: 15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003324/0.1982, allocations: 183.4 kB / 0.5422 GB, free: 14.82 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1982, allocations: 3.938 kB / 0.5422 GB, free: 14.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04174/0.2399, allocations: 15.38 MB / 0.5572 GB, free: 15.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.38, allocations: 6.125 kB / 0.5572 GB, free: 15.61 MB / 446.1 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_air_circ_003_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_003.fmu > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)