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.001148/0.001147, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001642/0.001642, allocations: 194.2 kB / 16.14 MB, free: 6.66 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.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2129/0.2129, allocations: 22.35 MB / 312.3 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001413, allocations: 63.91 kB / 380.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3026/0.304, allocations: 54.93 MB / 435 MB, free: 39.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.00531/0.3093, allocations: 4.276 MB / 439.3 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002243/0.3116, allocations: 1.339 MB / 440.7 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.3121, allocations: 2.781 kB / 440.7 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.3123, allocations: 58.94 kB / 440.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.3127, allocations: 213.4 kB / 440.9 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005016/0.3132, allocations: 265 kB / 441.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006802/0.3139, allocations: 1.097 MB / 442.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004131/0.3143, allocations: 397.7 kB / 442.7 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003274/0.3147, allocations: 363.1 kB / 443 MB, free: 34.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003373/0.315, allocations: 421.9 kB / 443.4 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.3151, allocations: 52.75 kB / 443.5 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3152, allocations: 48.28 kB / 443.5 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3154, allocations: 151.2 kB / 443.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.3156, allocations: 407.5 kB / 444.1 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005969/0.3162, allocations: 0.9684 MB / 445.1 MB, free: 33.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3163, allocations: 7.938 kB / 445.1 MB, free: 33.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3163, allocations: 0 / 445.1 MB, free: 33.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.3163, allocations: 0 / 445.1 MB, free: 33.38 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.00188/0.3182, allocations: 1.028 MB / 446.1 MB, free: 32.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3182, allocations: 15.66 kB / 446.1 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.3184, allocations: 79.81 kB / 446.2 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.3185, allocations: 258.5 kB / 446.4 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.3186, allocations: 68.62 kB / 446.5 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3187, allocations: 85.22 kB / 446.6 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.3198, allocations: 0.7342 MB / 447.3 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.3198, allocations: 0 / 447.3 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.874e-05/0.3199, allocations: 32.06 kB / 447.3 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.3199, allocations: 23.91 kB / 447.4 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.321, allocations: 0.7264 MB / 448.1 MB, free: 31.75 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.003065/0.3241, allocations: 2.401 MB / 450.5 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.3256, allocations: 0.8811 MB / 451.4 MB, free: 29.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004381/0.3261, allocations: 342.3 kB / 451.7 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.77e-05/0.3261, allocations: 10.16 kB / 451.7 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3262, allocations: 44.72 kB / 451.8 MB, free: 29.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.545e-06/0.3262, allocations: 0 / 451.8 MB, free: 29.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.008436/0.3346, allocations: 3.415 MB / 455.2 MB, free: 28.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3347, allocations: 63.59 kB / 455.2 MB, free: 27.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.3349, allocations: 211 kB / 455.5 MB, free: 27.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/0.335, allocations: 43.42 kB / 455.5 MB, free: 27.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3351, allocations: 254.4 kB / 455.7 MB, free: 27.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.3353, allocations: 390.7 kB / 456.1 MB, free: 27.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.3355, allocations: 148.8 kB / 456.3 MB, free: 27.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.3356, allocations: 365.1 kB / 456.6 MB, free: 26.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.3361, allocations: 299.9 kB / 456.9 MB, free: 26.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/0.3367, allocations: 390 kB / 457.3 MB, free: 26.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/0.348, allocations: 2.319 MB / 459.6 MB, free: 25.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.348, allocations: 0.5625 kB / 459.6 MB, free: 25.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002888/0.3509, allocations: 1.164 MB / 460.8 MB, free: 25.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.351, allocations: 5.828 kB / 460.8 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.351, allocations: 1.062 kB / 460.8 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.3526, allocations: 344.6 kB / 461.1 MB, free: 25.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006169/0.3588, allocations: 0.7442 MB / 461.9 MB, free: 25.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/0.3694, allocations: 14.74 MB / 476.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007968/0.3702, allocations: 53.31 kB / 476.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/0.3703, allocations: 30.25 kB / 476.7 MB, free: 10.73 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 {(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.0004293/0.3707, allocations: 248.8 kB / 476.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.3709, allocations: 52.34 kB / 477 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.3741, allocations: 1.383 MB / 478.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.3741, allocations: 15 kB / 478.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3741, allocations: 1.375 kB / 478.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.3741, allocations: 7.469 kB / 478.4 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/0.3786, allocations: 2.546 MB / 480.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.3786, allocations: 6.641 kB / 480.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005281/0.3839, allocations: 0.6854 MB / 481.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/0.3864, allocations: 0.4909 MB / 482.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.161e-05/0.3865, allocations: 32.53 kB / 482.2 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01212/0.3986, allocations: 14.9 MB / 497.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.034e-05/0.3987, allocations: 11.94 kB / 497.1 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004199/0.4029, allocations: 1.965 MB / 499 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.4031, allocations: 129.5 kB / 499.2 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.4032, allocations: 30.5 kB / 499.2 MB, free: 8.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/0.4039, allocations: 58.48 kB / 499.2 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/0.4042, allocations: 123.1 kB / 499.4 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/0.4043, allocations: 38.64 kB / 499.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.4045, allocations: 159.3 kB / 499.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4045, allocations: 1.469 kB / 499.6 MB, free: 8.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001185/0.4057, allocations: 264.3 kB / 499.8 MB, free: 8.344 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.0001934/0.4059, allocations: 140 kB / 500 MB, free: 8.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007666/0.4135, allocations: 1.972 MB / 0.4902 GB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4135, allocations: 0 / 0.4902 GB, free: 7.266 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006496/0.4201, allocations: 1.631 MB / 0.4918 GB, free: 5.809 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4212, allocations: 180.2 kB / 0.4919 GB, free: 5.664 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.4246, allocations: 2.171 MB / 0.4941 GB, free: 3.488 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.4252, allocations: 0.9262 MB / 0.495 GB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006239/0.4258, allocations: 89.11 kB / 0.495 GB, free: 2.523 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/0.426, allocations: 51.44 kB / 0.4951 GB, free: 2.473 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.426, allocations: 0 / 0.4951 GB, free: 2.473 MB / 366.1 MB Notification: Performance of Templates: time 0.02043/0.4464, allocations: 12.74 MB / 0.5075 GB, free: 5.844 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)