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.0008821/0.0008821, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0009531/0.0009531, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2612/0.2612, allocations: 22.33 MB / 313.4 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003871, allocations: 8 kB / 381.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3585, allocations: 55.98 MB / 437.9 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.003159/0.3617, allocations: 3.659 MB / 441.6 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.3639, allocations: 1.289 MB / 442.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.3641, allocations: 5.125 kB / 442.9 MB, free: 35.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.3642, allocations: 56.05 kB / 442.9 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003616/0.3646, allocations: 209 kB / 443.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.365, allocations: 194.5 kB / 443.3 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006957/0.3657, allocations: 1.057 MB / 444.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004054/0.3661, allocations: 381.5 kB / 444.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.3664, allocations: 347.7 kB / 445.1 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.3668, allocations: 397.5 kB / 445.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.746e-05/0.3669, allocations: 44.34 kB / 445.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.63e-05/0.367, allocations: 48.19 kB / 445.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3671, allocations: 153.4 kB / 445.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.3672, allocations: 180.5 kB / 445.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004641/0.3677, allocations: 0.7457 MB / 446.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3677, allocations: 2.469 kB / 446.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3677, allocations: 0 / 446.6 MB, free: 34.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3677, allocations: 0 / 446.6 MB, free: 34.09 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.001601/0.3693, allocations: 0.9075 MB / 447.5 MB, free: 33.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3694, allocations: 12.78 kB / 447.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.3695, allocations: 77.88 kB / 447.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.3697, allocations: 250.9 kB / 447.9 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.3698, allocations: 69.69 kB / 447.9 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3699, allocations: 83.62 kB / 448 MB, free: 33.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.371, allocations: 0.7224 MB / 448.7 MB, free: 32.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.371, allocations: 3.953 kB / 448.8 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.368e-05/0.371, allocations: 36.69 kB / 448.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.3711, allocations: 20.53 kB / 448.8 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.3721, allocations: 0.7246 MB / 449.5 MB, free: 32.55 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.003005/0.3751, allocations: 2.405 MB / 451.9 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.3766, allocations: 0.8768 MB / 452.8 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.3771, allocations: 333.2 kB / 453.1 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.433e-05/0.3771, allocations: 15.23 kB / 453.2 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.3772, allocations: 50.53 kB / 453.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.305e-06/0.3772, allocations: 0 / 453.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.007687/0.3849, allocations: 3.438 MB / 456.6 MB, free: 28.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.3849, allocations: 63.31 kB / 456.7 MB, free: 28.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3851, allocations: 213.1 kB / 456.9 MB, free: 28.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.116e-05/0.3852, allocations: 50.7 kB / 457 MB, free: 28.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.3853, allocations: 248.9 kB / 457.2 MB, free: 28.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.3855, allocations: 396.4 kB / 457.6 MB, free: 28.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3856, allocations: 20.75 kB / 457.6 MB, free: 28.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.508e-05/0.3856, allocations: 354 kB / 458 MB, free: 27.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.3861, allocations: 299.2 kB / 458.2 MB, free: 27.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/0.3867, allocations: 392 kB / 458.6 MB, free: 27.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.3873, allocations: 362.2 kB / 459 MB, free: 27.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3873, allocations: 0 / 459 MB, free: 27.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002424/0.3897, allocations: 1.158 MB / 460.1 MB, free: 26.71 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3897, allocations: 5.406 kB / 460.1 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.3898, allocations: 8.844 kB / 460.2 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.3912, allocations: 337.7 kB / 460.5 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004908/0.3961, allocations: 0.7449 MB / 461.2 MB, free: 26.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.4062, allocations: 14.76 MB / 476 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008687/0.4072, allocations: 52.8 kB / 476 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.601e-05/0.4072, allocations: 29.52 kB / 476.1 MB, free: 12.12 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: 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 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 AHU.phi:VARIABLE(start = AHU.phistart fixed = true ) type: Real AHU.T:VARIABLE(min = max(0.0, 0.0) start = AHU.Tstart unit = "K" fixed = true nominal = 300.0 ) "controlled T" 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 (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004434/0.4077, allocations: 248.2 kB / 476.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.933e-05/0.4078, allocations: 48.67 kB / 476.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/0.411, allocations: 1.399 MB / 477.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.411, allocations: 13.06 kB / 477.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.411, allocations: 1.25 kB / 477.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.4111, allocations: 5.281 kB / 477.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004571/0.4156, allocations: 2.544 MB / 480.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.4157, allocations: 9.734 kB / 480.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004438/0.4201, allocations: 0.6859 MB / 481 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002465/0.4226, allocations: 0.5041 MB / 481.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001649/0.4228, allocations: 32.19 kB / 481.6 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/0.4351, allocations: 14.95 MB / 496.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/0.4351, allocations: 14.91 kB / 496.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/0.4397, allocations: 1.953 MB / 498.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.44, allocations: 138.6 kB / 498.6 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.4401, allocations: 30.95 kB / 498.6 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/0.4408, allocations: 54.02 kB / 498.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.4411, allocations: 119.4 kB / 498.8 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.4412, allocations: 43.33 kB / 498.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.4414, allocations: 161.7 kB / 499 MB, free: 9.762 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4414, allocations: 0.9688 kB / 499 MB, free: 9.762 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001487/0.4429, allocations: 263.1 kB / 499.3 MB, free: 9.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 (linear and non-linear blocks): 6 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 2} * Non-linear torn systems: 2 {1 5,3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002442/0.4432, allocations: 138.4 kB / 499.4 MB, free: 9.598 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.00721/0.4504, allocations: 1.981 MB / 0.4896 GB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.4504, allocations: 1.406 kB / 0.4896 GB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006094/0.4565, allocations: 1.635 MB / 0.4912 GB, free: 8.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.4579, allocations: 172.2 kB / 0.4914 GB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003724/0.4617, allocations: 2.181 MB / 0.4935 GB, free: 5.801 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006385/0.4623, allocations: 0.9332 MB / 0.4944 GB, free: 4.922 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006523/0.463, allocations: 92.22 kB / 0.4945 GB, free: 4.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.4632, allocations: 44.52 kB / 0.4946 GB, free: 4.805 MB / 366.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4632, allocations: 3.938 kB / 0.4946 GB, free: 4.801 MB / 366.1 MB Notification: Performance of Templates: time 0.02262/0.4858, allocations: 12.26 MB / 0.5065 GB, free: 8.949 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)