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.001185/0.001185, 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.001232/0.001232, allocations: 198.2 kB / 16.54 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1992/0.1992, allocations: 22.35 MB / 312.7 MB, free: 12.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 60.09 kB / 380.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2505, allocations: 54.95 MB / 435.9 MB, free: 39.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.003191/0.2537, allocations: 3.51 MB / 439.4 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.2549, allocations: 1.113 MB / 440.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.255, allocations: 2.75 kB / 440.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.864e-05/0.2551, allocations: 65.19 kB / 440.6 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.2555, allocations: 179.3 kB / 440.7 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.2557, allocations: 218.9 kB / 441 MB, free: 36.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004255/0.2562, allocations: 0.8411 MB / 441.8 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/0.2566, allocations: 449.3 kB / 442.2 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002533/0.2568, allocations: 341.3 kB / 442.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.2572, allocations: 402.1 kB / 443 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-05/0.2573, allocations: 80.47 kB / 443 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.2574, allocations: 80.56 kB / 443.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.2575, allocations: 171.9 kB / 443.3 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.2577, allocations: 354.3 kB / 443.6 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.2582, allocations: 0.8266 MB / 444.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2582, allocations: 0 / 444.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2582, allocations: 0 / 444.5 MB, free: 34.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.2582, allocations: 0 / 444.5 MB, free: 34.54 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001543/0.2597, allocations: 0.8736 MB / 445.3 MB, free: 33.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2598, allocations: 8.875 kB / 445.3 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.2e-05/0.2599, allocations: 108.9 kB / 445.5 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.419e-05/0.26, allocations: 56.75 kB / 445.5 MB, free: 33.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2601, allocations: 223.2 kB / 445.7 MB, free: 33.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.111e-05/0.2602, allocations: 47.66 kB / 445.8 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.2602, allocations: 69.69 kB / 445.8 MB, free: 33.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00084/0.2611, allocations: 0.601 MB / 446.4 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.2611, allocations: 4 kB / 446.4 MB, free: 33.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/0.2612, allocations: 25.59 kB / 446.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.2612, allocations: 15.91 kB / 446.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009042/0.2621, allocations: 0.611 MB / 447.1 MB, free: 33.06 MB / 350.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.002583/0.2647, allocations: 1.949 MB / 449 MB, free: 31.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.2659, allocations: 0.6875 MB / 449.7 MB, free: 31.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/0.2664, allocations: 308.5 kB / 450 MB, free: 31.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.248e-05/0.2664, allocations: 17.3 kB / 450.1 MB, free: 31.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.2664, allocations: 41.84 kB / 450.1 MB, free: 31.43 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000407/0.2669, allocations: 110.6 kB / 450.2 MB, free: 31.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.344e-06/0.2669, allocations: 0 / 450.2 MB, free: 31.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=90): time 0.006571/0.2734, allocations: 2.908 MB / 453.1 MB, free: 29.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.2735, allocations: 62.44 kB / 453.2 MB, free: 29.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.2737, allocations: 210.2 kB / 453.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/0.2737, allocations: 40.23 kB / 453.4 MB, free: 29.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.2738, allocations: 188.3 kB / 453.6 MB, free: 29.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.274, allocations: 307.7 kB / 453.9 MB, free: 29.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.2742, allocations: 132.9 kB / 454 MB, free: 29.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.422e-05/0.2743, allocations: 352 kB / 454.4 MB, free: 28.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004647/0.2748, allocations: 288.4 kB / 454.7 MB, free: 28.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.2753, allocations: 336.9 kB / 455 MB, free: 28.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/0.2901, allocations: 2.822 MB / 457.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2901, allocations: 1.062 kB / 457.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001994/0.2921, allocations: 0.9337 MB / 458.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2921, allocations: 6.109 kB / 458.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.2922, allocations: 1.062 kB / 458.7 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009417/0.2931, allocations: 186.6 kB / 458.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/0.2971, allocations: 0.5488 MB / 459.5 MB, free: 27.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006171/0.3033, allocations: 10.63 MB / 470.1 MB, free: 16.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.3039, allocations: 18.22 kB / 470.1 MB, free: 16.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.88e-05/0.304, allocations: 28.09 kB / 470.1 MB, free: 16.77 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 (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.0003342/0.3043, allocations: 199.7 kB / 470.3 MB, free: 16.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/0.3044, allocations: 38.06 kB / 470.4 MB, free: 16.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.307, allocations: 1.174 MB / 471.6 MB, free: 16.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.307, allocations: 10.7 kB / 471.6 MB, free: 16.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.307, allocations: 1.219 kB / 471.6 MB, free: 16.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.307, allocations: 4.547 kB / 471.6 MB, free: 16.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/0.3105, allocations: 2.138 MB / 473.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.3105, allocations: 10.47 kB / 473.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003548/0.3141, allocations: 0.4893 MB / 474.2 MB, free: 14.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001875/0.316, allocations: 343.7 kB / 474.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-05/0.316, allocations: 33.56 kB / 474.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006658/0.3227, allocations: 10.88 MB / 485.5 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.3227, allocations: 10.59 kB / 485.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/0.3256, allocations: 1.674 MB / 487.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.3258, allocations: 126.5 kB / 487.3 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/0.3259, allocations: 31.27 kB / 487.3 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/0.3264, allocations: 23.61 kB / 487.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.3266, allocations: 99.98 kB / 487.4 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.216e-05/0.3267, allocations: 33.3 kB / 487.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.3268, allocations: 152.3 kB / 487.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3268, allocations: 0 / 487.6 MB, free: 2.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008763/0.3277, allocations: 193.9 kB / 487.8 MB, free: 2.629 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 (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.003063/0.3308, allocations: 2.239 MB / 490 MB, free: 1.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005644/0.3364, allocations: 1.542 MB / 491.6 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.3364, allocations: 0 / 491.6 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00436/0.3408, allocations: 1.215 MB / 492.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.3418, allocations: 154.8 kB / 492.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009619/0.3515, allocations: 5.467 MB / 498.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007361/0.3522, allocations: 0.8748 MB / 499.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006388/0.3529, allocations: 91.09 kB / 499.4 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003848/0.3533, allocations: 184.4 kB / 499.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3533, allocations: 0 / 499.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.3936, allocations: 15.14 MB / 0.5026 GB, free: 12.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 3.938 kB / 0.5026 GB, free: 12.07 MB / 382.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)