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: translateModel(AES.Devel_test_models.Test_AHU_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_AHU_001") translateModel(AES.Devel_test_models.Test_AHU_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_AHU_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008186/0.0008186, allocations: 92.23 kB / 16.02 MB, free: 80 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.0008948/0.000895, allocations: 183.9 kB / 16.92 MB, free: 6.922 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.306/1.306, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1889/0.1889, allocations: 22.35 MB / 314.4 MB, free: 13.12 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000288/0.0002881, allocations: 8 kB / 383.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2357, allocations: 55.99 MB / 439.2 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.002721/0.2384, allocations: 3.853 MB / 443.1 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.2399, allocations: 1.314 MB / 444.4 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.2401, allocations: 6.656 kB / 444.4 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.926e-05/0.2402, allocations: 66.06 kB / 444.5 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.2406, allocations: 201.7 kB / 444.7 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004173/0.241, allocations: 269.4 kB / 444.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006454/0.2417, allocations: 1.094 MB / 446 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003762/0.242, allocations: 386.8 kB / 446.4 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.2424, allocations: 356 kB / 446.8 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003595/0.2427, allocations: 416.5 kB / 447.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.442e-05/0.2428, allocations: 47.06 kB / 447.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.2429, allocations: 48.84 kB / 447.3 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.243, allocations: 148.4 kB / 447.4 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.2433, allocations: 423.4 kB / 447.8 MB, free: 33.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.2437, allocations: 0.7539 MB / 448.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2437, allocations: 0 / 448.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2437, allocations: 0 / 448.6 MB, free: 33.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.2437, allocations: 0 / 448.6 MB, free: 33.52 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.001628/0.2453, allocations: 0.8982 MB / 449.5 MB, free: 32.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2454, allocations: 11.34 kB / 449.5 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.2455, allocations: 79.09 kB / 449.6 MB, free: 32.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.2457, allocations: 262.5 kB / 449.8 MB, free: 32.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/0.2457, allocations: 68.88 kB / 449.9 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001078/0.2458, allocations: 85.06 kB / 450 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.2469, allocations: 0.7294 MB / 450.7 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.2469, allocations: 0 / 450.7 MB, free: 32.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.247, allocations: 34.22 kB / 450.7 MB, free: 32.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.247, allocations: 22 kB / 450.8 MB, free: 32.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.2481, allocations: 0.7278 MB / 451.5 MB, free: 31.98 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.002918/0.251, allocations: 2.41 MB / 453.9 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.2526, allocations: 0.8855 MB / 454.8 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/0.2531, allocations: 335.5 kB / 455.1 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.532e-05/0.2532, allocations: 13.53 kB / 455.1 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/0.2532, allocations: 49.69 kB / 455.2 MB, free: 29.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.955e-06/0.2532, allocations: 0 / 455.2 MB, free: 29.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.008597/0.2618, allocations: 3.446 MB / 458.6 MB, free: 28.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.2618, allocations: 63.34 kB / 458.7 MB, free: 28.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.262, allocations: 207.1 kB / 458.9 MB, free: 28.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.2621, allocations: 45.61 kB / 458.9 MB, free: 27.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.603e-05/0.2622, allocations: 251.9 kB / 459.2 MB, free: 27.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.2624, allocations: 389.1 kB / 459.6 MB, free: 27.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.2625, allocations: 83.41 kB / 459.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.555e-05/0.2626, allocations: 366.9 kB / 460 MB, free: 27.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005159/0.2631, allocations: 296.9 kB / 460.3 MB, free: 26.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005483/0.2637, allocations: 394.6 kB / 460.7 MB, free: 26.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/0.2757, allocations: 2.375 MB / 463 MB, free: 26.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2758, allocations: 0 / 463 MB, free: 26.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002835/0.2786, allocations: 1.17 MB / 464.2 MB, free: 25.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2787, allocations: 9.344 kB / 464.2 MB, free: 25.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.2787, allocations: 1.719 kB / 464.2 MB, free: 25.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.2804, allocations: 346.4 kB / 464.6 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005847/0.2863, allocations: 0.7424 MB / 465.3 MB, free: 25.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.2968, allocations: 14.79 MB / 480.1 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/0.2976, allocations: 56.05 kB / 480.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.2977, allocations: 30.78 kB / 480.2 MB, free: 10.97 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = max(0.0, 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 = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = max(0.0, max(0.0, 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 {(3,4,77.8%), (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.0003997/0.2981, allocations: 242.1 kB / 480.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.765e-05/0.2982, allocations: 49.16 kB / 480.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003464/0.3017, allocations: 1.395 MB / 481.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.3017, allocations: 12.08 kB / 481.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3017, allocations: 2.344 kB / 481.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.3017, allocations: 5.438 kB / 481.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/0.3065, allocations: 2.558 MB / 484.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/0.3065, allocations: 8.422 kB / 484.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005315/0.3118, allocations: 0.6885 MB / 485.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/0.3148, allocations: 0.5014 MB / 485.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.702e-05/0.3149, allocations: 31.36 kB / 485.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01207/0.3269, allocations: 14.97 MB / 0.4889 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.626e-05/0.327, allocations: 14.11 kB / 0.4889 GB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/0.3312, allocations: 1.96 MB / 0.4908 GB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.3314, allocations: 138.1 kB / 0.491 GB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.3315, allocations: 31.14 kB / 0.491 GB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006923/0.3322, allocations: 58.19 kB / 0.491 GB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/0.3325, allocations: 119.7 kB / 0.4912 GB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-05/0.3326, allocations: 39.17 kB / 0.4912 GB, free: 8.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001563/0.3328, allocations: 159 kB / 0.4913 GB, free: 8.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3328, allocations: 0 / 0.4913 GB, free: 8.609 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001165/0.334, allocations: 261.3 kB / 0.4916 GB, free: 8.57 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 {(3,4,77.8%), (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.0002019/0.3342, allocations: 141.2 kB / 0.4917 GB, free: 8.445 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.007567/0.3418, allocations: 1.964 MB / 0.4936 GB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.3418, allocations: 0 / 0.4936 GB, free: 7.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006482/0.3483, allocations: 1.614 MB / 0.4952 GB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.3496, allocations: 177.9 kB / 0.4954 GB, free: 5.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.3527, allocations: 2.307 MB / 0.4976 GB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.3532, allocations: 0.9289 MB / 0.4986 GB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.3535, allocations: 51.44 kB / 0.4986 GB, free: 2.094 MB / 366.1 MB Notification: Performance of SimCode: time 2.124e-06/0.3535, allocations: 4 kB / 0.4986 GB, free: 2.09 MB / 366.1 MB Notification: Performance of Templates: time 0.03323/0.3867, allocations: 35.21 MB / 0.533 GB, free: 14.81 MB / 414.1 MB make -j1 -f AES_AES.Devel_test_models.Test_AHU_001.makefile (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 & ./AES_AES.Devel_test_models.Test_AHU_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_AHU_001.pipe 2>&1)