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.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001281/0.001282, allocations: 193.7 kB / 16.25 MB, free: 6.637 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2122/0.2122, allocations: 22.35 MB / 312.4 MB, free: 12.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 59.91 kB / 380.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3069, allocations: 54.95 MB / 435.2 MB, free: 39.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.004032/0.3109, allocations: 4.266 MB / 439.5 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.3128, allocations: 1.333 MB / 440.8 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004128/0.3133, allocations: 5.25 kB / 440.8 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.3135, allocations: 61.31 kB / 440.9 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.314, allocations: 207.7 kB / 441.1 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.3145, allocations: 263.8 kB / 441.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007071/0.3152, allocations: 1.168 MB / 442.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004215/0.3156, allocations: 464.2 kB / 443 MB, free: 34.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003234/0.316, allocations: 425.2 kB / 443.4 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003533/0.3163, allocations: 451 kB / 443.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.456e-05/0.3164, allocations: 104 kB / 443.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.3165, allocations: 101.8 kB / 444 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3167, allocations: 211.4 kB / 444.2 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.3169, allocations: 451.2 kB / 444.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005452/0.3175, allocations: 1.01 MB / 445.7 MB, free: 33.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3175, allocations: 2.719 kB / 445.7 MB, free: 33.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3175, allocations: 0 / 445.7 MB, free: 33.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.3175, allocations: 0 / 445.7 MB, free: 33.4 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.001812/0.3193, allocations: 1.032 MB / 446.7 MB, free: 32.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.3194, allocations: 12.62 kB / 446.7 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.3195, allocations: 80.12 kB / 446.8 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.3197, allocations: 252.6 kB / 447.1 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.3197, allocations: 69.91 kB / 447.1 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.3198, allocations: 86.06 kB / 447.2 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.3209, allocations: 0.7306 MB / 448 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.3209, allocations: 3.938 kB / 448 MB, free: 32.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.754e-05/0.321, allocations: 35.88 kB / 448 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.321, allocations: 22.28 kB / 448 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.3221, allocations: 0.7257 MB / 448.7 MB, free: 31.77 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.002888/0.325, allocations: 2.399 MB / 451.1 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.3265, allocations: 0.8819 MB / 452 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.327, allocations: 337.7 kB / 452.3 MB, free: 29.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.767e-05/0.3271, allocations: 17.89 kB / 452.4 MB, free: 29.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3271, allocations: 43.53 kB / 452.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.535e-06/0.3271, allocations: 0 / 452.4 MB, free: 29.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.008348/0.3354, allocations: 3.415 MB / 455.8 MB, free: 28.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.3355, allocations: 63.91 kB / 455.9 MB, free: 27.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.3357, allocations: 209.8 kB / 456.1 MB, free: 27.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.871e-05/0.3358, allocations: 45.7 kB / 456.1 MB, free: 27.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.3359, allocations: 248.6 kB / 456.4 MB, free: 27.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.3361, allocations: 389.5 kB / 456.8 MB, free: 27.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002178/0.3363, allocations: 156 kB / 456.9 MB, free: 27.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.589e-05/0.3364, allocations: 356.2 kB / 457.3 MB, free: 26.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00047/0.3368, allocations: 302.4 kB / 457.6 MB, free: 26.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.3374, allocations: 392.2 kB / 457.9 MB, free: 26.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.3491, allocations: 2.326 MB / 460.3 MB, free: 25.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3491, allocations: 5.25 kB / 460.3 MB, free: 25.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003082/0.3522, allocations: 1.16 MB / 461.4 MB, free: 25.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.3523, allocations: 8.125 kB / 461.4 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.3523, allocations: 5.469 kB / 461.4 MB, free: 25.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/0.354, allocations: 337.2 kB / 461.8 MB, free: 25.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006081/0.3601, allocations: 0.7485 MB / 462.5 MB, free: 25.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.3715, allocations: 15.94 MB / 478.5 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008518/0.3724, allocations: 56.53 kB / 478.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.3726, allocations: 30.34 kB / 478.5 MB, free: 9.582 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.0005409/0.3731, allocations: 241.3 kB / 478.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3733, allocations: 52.88 kB / 478.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/0.3767, allocations: 1.39 MB / 480.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.3767, allocations: 15.62 kB / 480.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.3768, allocations: 1.031 kB / 480.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.699e-05/0.3768, allocations: 7.203 kB / 480.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005088/0.3819, allocations: 2.543 MB / 482.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/0.3819, allocations: 7.312 kB / 482.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005532/0.3875, allocations: 0.6925 MB / 483.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/0.3901, allocations: 487.1 kB / 484 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.3904, allocations: 31.95 kB / 484 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/0.4038, allocations: 16.15 MB / 0.4884 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.4038, allocations: 8.406 kB / 0.4884 GB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004434/0.4082, allocations: 1.964 MB / 0.4903 GB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.4085, allocations: 129.4 kB / 0.4905 GB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.4087, allocations: 30.88 kB / 0.4905 GB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/0.4095, allocations: 54.66 kB / 0.4905 GB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/0.4099, allocations: 121.1 kB / 0.4907 GB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.555e-05/0.41, allocations: 39.45 kB / 0.4907 GB, free: 6.156 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.4102, allocations: 159.6 kB / 0.4908 GB, free: 6.055 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4102, allocations: 5.062 kB / 0.4909 GB, free: 6.051 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001404/0.4116, allocations: 265 kB / 0.4911 GB, free: 6.012 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.000261/0.4118, allocations: 139.2 kB / 0.4912 GB, free: 5.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.008598/0.4204, allocations: 2.026 MB / 0.4932 GB, free: 4.273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.4205, allocations: 4 kB / 0.4932 GB, free: 4.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.009248/0.4298, allocations: 1.62 MB / 0.4948 GB, free: 2.824 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/0.4317, allocations: 186.3 kB / 0.495 GB, free: 2.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00489/0.4366, allocations: 2.165 MB / 0.4971 GB, free: 468 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007373/0.4374, allocations: 0.9327 MB / 0.498 GB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009873/0.4384, allocations: 93.11 kB / 0.4981 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.4386, allocations: 47.42 kB / 0.4981 GB, free: 15.36 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4386, allocations: 0 / 0.4981 GB, free: 15.36 MB / 382.1 MB Notification: Performance of Templates: time 0.0295/0.4682, allocations: 13.44 MB / 0.5113 GB, free: 2.035 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)