Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_AHU_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_AHU_001,fileNamePrefix="AES_AES_Devel_test_models_Test_AHU_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_AHU_001,fileNamePrefix="AES_AES_Devel_test_models_Test_AHU_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.001501/0.001501, allocations: 108 kB / 15.61 MB, free: 152 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.001729/0.001729, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.419/1.419, 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.1999/0.1999, allocations: 22.35 MB / 312.7 MB, free: 12.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 59.89 kB / 380.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.328, allocations: 54.94 MB / 435.9 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.003999/0.332, allocations: 4.238 MB / 440.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3338, allocations: 1.341 MB / 441.5 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.3339, allocations: 9.188 kB / 441.5 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.3341, allocations: 83.91 kB / 441.6 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.3344, allocations: 241.9 kB / 441.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.3348, allocations: 303.4 kB / 442.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.3354, allocations: 1.167 MB / 443.3 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004264/0.3359, allocations: 477.2 kB / 443.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.3362, allocations: 424 kB / 444.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.3366, allocations: 445.8 kB / 444.6 MB, free: 34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.3367, allocations: 100.5 kB / 444.7 MB, free: 34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.3369, allocations: 100.7 kB / 444.8 MB, free: 34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.337, allocations: 206.7 kB / 445 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002987/0.3373, allocations: 452.5 kB / 445.4 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000557/0.3379, allocations: 1.014 MB / 446.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3379, allocations: 3.281 kB / 446.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3379, allocations: 0 / 446.4 MB, free: 33.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.3379, allocations: 2.344 kB / 446.4 MB, free: 33.2 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.001741/0.3397, allocations: 1.028 MB / 447.5 MB, free: 32.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3397, allocations: 11.56 kB / 447.5 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.3398, allocations: 138.5 kB / 447.6 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.3399, allocations: 82.16 kB / 447.7 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3401, allocations: 256 kB / 447.9 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.409e-05/0.3401, allocations: 75.91 kB / 448 MB, free: 32.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/0.3403, allocations: 89.11 kB / 448.1 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009896/0.3413, allocations: 0.7251 MB / 448.8 MB, free: 31.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3413, allocations: 2.281 kB / 448.8 MB, free: 31.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.3414, allocations: 33.34 kB / 448.9 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.3414, allocations: 21.69 kB / 448.9 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.3424, allocations: 0.7294 MB / 449.6 MB, free: 31.47 MB / 350.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 Warning: Alias set with conflicting start values * Candidate: AHU.T(start = AHU.Tstart = 293.15, confidence number = 2) * Candidate: AHU.air.T(start = 288.15, confidence number = 8) => Select value from AHU.T(start = AHU.Tstart = 293.15) for variable: AHU.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002858/0.3453, allocations: 2.416 MB / 452 MB, free: 29.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.3468, allocations: 0.8853 MB / 452.9 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004393/0.3473, allocations: 334.9 kB / 453.2 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.101e-05/0.3473, allocations: 18.97 kB / 453.2 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.3473, allocations: 45.88 kB / 453.3 MB, free: 29.4 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.444e-06/0.3474, allocations: 0 / 453.3 MB, free: 29.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.008143/0.3555, allocations: 3.406 MB / 456.7 MB, free: 27.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.3555, allocations: 63.22 kB / 456.8 MB, free: 27.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.3557, allocations: 202.5 kB / 457 MB, free: 27.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.3558, allocations: 48.78 kB / 457 MB, free: 27.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.79e-05/0.3559, allocations: 265.7 kB / 457.3 MB, free: 27.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/0.3561, allocations: 384.6 kB / 457.6 MB, free: 26.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.3563, allocations: 152.2 kB / 457.8 MB, free: 26.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.823e-05/0.3564, allocations: 355 kB / 458.1 MB, free: 26.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.3569, allocations: 302.8 kB / 458.4 MB, free: 26.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.3574, allocations: 393.2 kB / 458.8 MB, free: 26.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01108/0.3685, allocations: 2.321 MB / 461.1 MB, free: 25.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.3685, allocations: 0 / 461.1 MB, free: 25.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002691/0.3712, allocations: 1.169 MB / 462.3 MB, free: 25.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3713, allocations: 9.344 kB / 462.3 MB, free: 25.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3713, allocations: 1.062 kB / 462.3 MB, free: 25.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.3728, allocations: 344.3 kB / 462.7 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005745/0.3785, allocations: 0.7364 MB / 463.4 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.3893, allocations: 15.89 MB / 479.3 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/0.39, allocations: 31.95 kB / 479.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.3901, allocations: 31.5 kB / 479.3 MB, free: 9.285 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = 0.0 start = AHU.Tstart unit = "K" fixed = true nominal = 300.0 ) "controlled T" type: Real AHU.phi:VARIABLE(start = AHU.phistart fixed = true ) type: Real 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: 5 * Number of states: 0 () * Number of discrete variables: 1 (AHUon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 6 systems {1, 1, 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,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004223/0.3906, allocations: 229.2 kB / 479.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.3907, allocations: 48.98 kB / 479.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.3939, allocations: 1.387 MB / 481 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.3939, allocations: 14.94 kB / 481 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.3939, allocations: 2.031 kB / 481 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.3939, allocations: 9.469 kB / 481 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/0.3987, allocations: 2.552 MB / 483.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.726e-05/0.3987, allocations: 7.344 kB / 483.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004948/0.4036, allocations: 0.6883 MB / 484.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002539/0.4062, allocations: 486.4 kB / 484.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.4063, allocations: 32.72 kB / 484.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01263/0.419, allocations: 16.15 MB / 0.4892 GB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.419, allocations: 10.91 kB / 0.4892 GB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/0.4231, allocations: 1.957 MB / 0.4911 GB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.4233, allocations: 134 kB / 0.4912 GB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.4235, allocations: 34.8 kB / 0.4913 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006612/0.4241, allocations: 33.69 kB / 0.4913 GB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/0.4245, allocations: 121.8 kB / 0.4914 GB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.4246, allocations: 38.73 kB / 0.4915 GB, free: 5.859 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.4248, allocations: 159 kB / 0.4916 GB, free: 5.758 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4248, allocations: 0 / 0.4916 GB, free: 5.758 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001329/0.4261, allocations: 262.1 kB / 0.4919 GB, free: 5.719 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 5 (AHU.T,AHU.phi,V.Ma,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 (92): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 4 * 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): 6 systems {1, 1, 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): 2 systems {(1,5), (3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004431/0.4306, allocations: 2.535 MB / 0.4943 GB, free: 3.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00775/0.4383, allocations: 2.023 MB / 0.4963 GB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.4383, allocations: 0 / 0.4963 GB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006177/0.4445, allocations: 1.628 MB / 0.4979 GB, free: 84 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.4458, allocations: 185.8 kB / 0.4981 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01109/0.4569, allocations: 6.464 MB / 0.5044 GB, free: 9.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.4575, allocations: 0.9289 MB / 0.5053 GB, free: 8.168 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005927/0.4581, allocations: 85.12 kB / 0.5054 GB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.4585, allocations: 243.3 kB / 0.5056 GB, free: 7.848 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4585, allocations: 0 / 0.5056 GB, free: 7.848 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04979/0.5083, allocations: 18.68 MB / 0.5238 GB, free: 5.352 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.25, allocations: 3.188 kB / 0.5239 GB, free: 5.352 MB / 398.1 MB (rm -f AES_AES.Devel_test_models.Test_AHU_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_AHU_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_AHU_001.pipe >> ../files/AES_AES.Devel_test_models.Test_AHU_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_AHU_001_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.8 AES_AES_Devel_test_models_Test_AHU_001.fmu > AES_AES.Devel_test_models.Test_AHU_001.pipe 2>&1)