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.0009953/0.0009951, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001131/0.001131, allocations: 177.3 kB / 15.94 MB, free: 228 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.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2386/0.2386, allocations: 22.33 MB / 313.3 MB, free: 13.19 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003748, allocations: 8 kB / 381.8 MB, free: 10.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3072, allocations: 55.99 MB / 437.8 MB, free: 39.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.003549/0.3108, allocations: 3.285 MB / 441.1 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002616/0.3135, allocations: 1.337 MB / 442.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003944/0.3139, allocations: 2.719 kB / 442.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.3141, allocations: 65.84 kB / 442.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.3146, allocations: 248.5 kB / 442.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006051/0.3152, allocations: 196.6 kB / 442.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007393/0.316, allocations: 0.7131 MB / 443.7 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.3165, allocations: 375 kB / 444 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004202/0.3169, allocations: 360.3 kB / 444.4 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004766/0.3174, allocations: 395.5 kB / 444.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.996e-05/0.3175, allocations: 47.03 kB / 444.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.3176, allocations: 48.31 kB / 444.8 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.3178, allocations: 150.7 kB / 445 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.3179, allocations: 179.7 kB / 445.2 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005815/0.3185, allocations: 0.7452 MB / 445.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3185, allocations: 0 / 445.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3185, allocations: 0 / 445.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.3185, allocations: 0 / 445.9 MB, free: 34.66 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.001804/0.3203, allocations: 0.907 MB / 446.8 MB, free: 34.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3204, allocations: 8.812 kB / 446.8 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.3205, allocations: 78.97 kB / 446.9 MB, free: 34.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3207, allocations: 246.9 kB / 447.1 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.451e-05/0.3208, allocations: 63.09 kB / 447.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.3209, allocations: 91.25 kB / 447.3 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.322, allocations: 0.7147 MB / 448 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.322, allocations: 3.953 kB / 448 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.473e-05/0.3221, allocations: 36.78 kB / 448.1 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.3221, allocations: 25.41 kB / 448.1 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.3232, allocations: 0.7166 MB / 448.8 MB, free: 33.12 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.003231/0.3265, allocations: 2.415 MB / 451.2 MB, free: 31.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.3281, allocations: 0.8707 MB / 452.1 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.3282, allocations: 16.05 kB / 452.1 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.3282, allocations: 56.69 kB / 452.2 MB, free: 31.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 2.384e-06/0.3282, allocations: 0 / 452.2 MB, free: 31.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.008233/0.3365, allocations: 3.411 MB / 455.6 MB, free: 29.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.3365, allocations: 61.91 kB / 455.6 MB, free: 29.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.3367, allocations: 217.5 kB / 455.8 MB, free: 29.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.686e-05/0.3368, allocations: 41.08 kB / 455.9 MB, free: 29.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.3369, allocations: 253.8 kB / 456.1 MB, free: 29.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.3371, allocations: 387.5 kB / 456.5 MB, free: 28.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.3371, allocations: 19.16 kB / 456.5 MB, free: 28.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.24e-05/0.3372, allocations: 357 kB / 456.9 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/0.3377, allocations: 304.8 kB / 457.2 MB, free: 28.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.3384, allocations: 377.8 kB / 457.5 MB, free: 28.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006118/0.339, allocations: 360.9 kB / 457.9 MB, free: 27.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.339, allocations: 1.188 kB / 457.9 MB, free: 27.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002621/0.3416, allocations: 1.161 MB / 459.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3417, allocations: 5.062 kB / 459.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.3417, allocations: 4.75 kB / 459.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.3433, allocations: 350.2 kB / 459.4 MB, free: 27.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00537/0.3487, allocations: 0.7336 MB / 460.1 MB, free: 27.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.3594, allocations: 14.87 MB / 475 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007992/0.3602, allocations: 51.3 kB / 475.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.3603, allocations: 32.27 kB / 475.1 MB, free: 12.79 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.0004618/0.3608, allocations: 247.1 kB / 475.3 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.3609, allocations: 52.94 kB / 475.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/0.3641, allocations: 1.386 MB / 476.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.3642, allocations: 19.94 kB / 476.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3642, allocations: 1.188 kB / 476.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.3642, allocations: 6.812 kB / 476.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004509/0.3687, allocations: 2.543 MB / 479.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.3687, allocations: 7.156 kB / 479.3 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004748/0.3735, allocations: 0.6819 MB / 480 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/0.3761, allocations: 0.5089 MB / 480.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.3762, allocations: 32.22 kB / 480.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01179/0.388, allocations: 15.05 MB / 495.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-05/0.388, allocations: 12.39 kB / 495.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005044/0.3931, allocations: 2.292 MB / 497.9 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003277/0.3934, allocations: 138.1 kB / 498.1 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.3936, allocations: 34.06 kB / 498.1 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.3943, allocations: 51.86 kB / 498.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003224/0.3947, allocations: 119.2 kB / 498.3 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.396e-05/0.3948, allocations: 46.58 kB / 498.3 MB, free: 9.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.395, allocations: 158.4 kB / 498.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.395, allocations: 4 kB / 498.5 MB, free: 9.871 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001417/0.3964, allocations: 259.9 kB / 498.7 MB, free: 9.832 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.0002664/0.3967, allocations: 135 kB / 498.9 MB, free: 9.711 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.007206/0.4039, allocations: 1.981 MB / 0.4891 GB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.4039, allocations: 1.094 kB / 0.4891 GB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006365/0.4103, allocations: 1.635 MB / 0.4907 GB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.4115, allocations: 156.8 kB / 0.4908 GB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.4155, allocations: 2.184 MB / 0.493 GB, free: 6.246 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/0.4161, allocations: 0.95 MB / 0.4939 GB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006566/0.4167, allocations: 92.25 kB / 0.494 GB, free: 5.293 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.4169, allocations: 44.8 kB / 0.494 GB, free: 5.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.164e-06/0.4169, allocations: 0 / 0.494 GB, free: 5.25 MB / 366.1 MB Notification: Performance of Templates: time 0.02107/0.438, allocations: 12.23 MB / 0.506 GB, free: 9.391 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_AHU_001.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: