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.000801/0.0008014, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005468/0.005468, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.435/1.435, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2309/0.2309, allocations: 22.35 MB / 313.8 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004023, allocations: 8 kB / 382.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3238/0.3243, allocations: 55.99 MB / 438.6 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.003769/0.3281, allocations: 3.855 MB / 442.4 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.3307, allocations: 1.319 MB / 443.7 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006124/0.3314, allocations: 7 kB / 443.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.3317, allocations: 63.19 kB / 443.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.3328, allocations: 213.3 kB / 444 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008482/0.3336, allocations: 266 kB / 444.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001536/0.3352, allocations: 1.09 MB / 445.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007282/0.3359, allocations: 390.6 kB / 445.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006159/0.3365, allocations: 355.9 kB / 446.1 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.337, allocations: 414.4 kB / 446.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/0.3371, allocations: 46.06 kB / 446.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3372, allocations: 46.78 kB / 446.6 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3374, allocations: 143 kB / 446.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.3378, allocations: 431.6 kB / 447.2 MB, free: 33.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007365/0.3385, allocations: 0.9522 MB / 448.1 MB, free: 33.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.3386, allocations: 6.531 kB / 448.1 MB, free: 33.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3386, allocations: 0 / 448.1 MB, free: 33.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.3386, allocations: 0 / 448.1 MB, free: 33.44 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.001795/0.3404, allocations: 0.8958 MB / 449 MB, free: 32.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3404, allocations: 12.75 kB / 449 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.3406, allocations: 80.03 kB / 449.1 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.3408, allocations: 257.8 kB / 449.4 MB, free: 32.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.3409, allocations: 75.25 kB / 449.4 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.341, allocations: 86.72 kB / 449.5 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.3423, allocations: 0.7281 MB / 450.2 MB, free: 32.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.3423, allocations: 2.781 kB / 450.2 MB, free: 32.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.453e-05/0.3424, allocations: 33.69 kB / 450.3 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.3424, allocations: 20.66 kB / 450.3 MB, free: 32.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.3435, allocations: 0.7242 MB / 451 MB, free: 31.89 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.00323/0.3467, allocations: 2.413 MB / 453.4 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.3485, allocations: 0.8927 MB / 454.3 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/0.349, allocations: 333.4 kB / 454.6 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.508e-05/0.349, allocations: 16.16 kB / 454.7 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3491, allocations: 44.81 kB / 454.7 MB, free: 29.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.815e-06/0.3491, allocations: 0 / 454.7 MB, free: 29.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.008661/0.3578, allocations: 3.446 MB / 458.2 MB, free: 28.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.3578, allocations: 64.22 kB / 458.2 MB, free: 28.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.3581, allocations: 211.5 kB / 458.4 MB, free: 27.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.3582, allocations: 49.7 kB / 458.5 MB, free: 27.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3583, allocations: 248.5 kB / 458.7 MB, free: 27.68 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.3585, allocations: 390.6 kB / 459.1 MB, free: 27.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.3587, allocations: 82.28 kB / 459.2 MB, free: 27.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.3588, allocations: 361.9 kB / 459.5 MB, free: 26.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.3593, allocations: 299.4 kB / 459.8 MB, free: 26.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000576/0.3599, allocations: 400 kB / 460.2 MB, free: 26.68 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/0.3715, allocations: 2.37 MB / 462.6 MB, free: 25.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3715, allocations: 4 kB / 462.6 MB, free: 25.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003029/0.3746, allocations: 1.166 MB / 463.8 MB, free: 25.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.3746, allocations: 11.41 kB / 463.8 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3746, allocations: 1.25 kB / 463.8 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001736/0.3764, allocations: 346.5 kB / 464.1 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005604/0.382, allocations: 0.7396 MB / 464.8 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.3937, allocations: 14.78 MB / 479.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.3949, allocations: 56.02 kB / 479.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.979e-05/0.395, allocations: 30.38 kB / 479.7 MB, free: 10.89 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.0006968/0.3957, allocations: 247.2 kB / 479.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.3959, allocations: 48.41 kB / 480 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003882/0.3998, allocations: 1.397 MB / 481.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.3998, allocations: 14.94 kB / 481.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.3998, allocations: 2.031 kB / 481.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.276e-05/0.3998, allocations: 7.297 kB / 481.4 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005602/0.4055, allocations: 2.557 MB / 484 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.4055, allocations: 7.234 kB / 484 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00492/0.4104, allocations: 0.6872 MB / 484.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002805/0.4132, allocations: 0.5082 MB / 485.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.4134, allocations: 31.75 kB / 485.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/0.4282, allocations: 14.96 MB / 0.4884 GB, free: 9.938 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.143e-05/0.4283, allocations: 11.84 kB / 0.4885 GB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005137/0.4334, allocations: 1.967 MB / 0.4904 GB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.4338, allocations: 138.3 kB / 0.4905 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.4339, allocations: 30.89 kB / 0.4905 GB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008171/0.4348, allocations: 58.7 kB / 0.4906 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/0.4352, allocations: 119.5 kB / 0.4907 GB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.797e-05/0.4353, allocations: 38.77 kB / 0.4907 GB, free: 8.617 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.4355, allocations: 160.6 kB / 0.4909 GB, free: 8.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4355, allocations: 0 / 0.4909 GB, free: 8.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0015/0.437, allocations: 259.2 kB / 0.4911 GB, free: 8.477 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.0002727/0.4373, allocations: 141.9 kB / 0.4913 GB, free: 8.352 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.007911/0.4452, allocations: 1.983 MB / 0.4932 GB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.4452, allocations: 0 / 0.4932 GB, free: 6.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006757/0.452, allocations: 1.644 MB / 0.4948 GB, free: 5.441 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/0.4535, allocations: 176.6 kB / 0.495 GB, free: 5.266 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003562/0.4571, allocations: 2.277 MB / 0.4972 GB, free: 2.879 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006541/0.4578, allocations: 0.9289 MB / 0.4981 GB, free: 1.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006246/0.4584, allocations: 85.12 kB / 0.4982 GB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.4586, allocations: 47.42 kB / 0.4983 GB, free: 1.797 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4586, allocations: 0 / 0.4983 GB, free: 1.797 MB / 366.1 MB Notification: Performance of Templates: time 0.02272/0.4813, allocations: 12.66 MB / 0.5106 GB, free: 5.246 MB / 382.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)