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.001481/0.001481, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 199.3 kB / 16.79 MB, free: 6.809 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.301/1.301, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1885/0.1885, allocations: 22.36 MB / 313 MB, free: 12.71 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.14 kB / 380.8 MB, free: 11.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2196, allocations: 54.94 MB / 435.7 MB, free: 39.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.003539/0.2231, allocations: 4.271 MB / 440 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2244, allocations: 1.328 MB / 441.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001544/0.2246, allocations: 5.562 kB / 441.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.2247, allocations: 56.05 kB / 441.4 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000312/0.225, allocations: 215.2 kB / 441.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003693/0.2254, allocations: 265.3 kB / 441.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005578/0.226, allocations: 1.099 MB / 442.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003455/0.2263, allocations: 395.2 kB / 443.3 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.2266, allocations: 368 kB / 443.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003043/0.2269, allocations: 416.2 kB / 444.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.25e-05/0.227, allocations: 48.84 kB / 444.1 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.2271, allocations: 46.47 kB / 444.2 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.2272, allocations: 160.5 kB / 444.3 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002577/0.2275, allocations: 409.7 kB / 444.7 MB, free: 33.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.2279, allocations: 0.7615 MB / 445.5 MB, free: 33.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2279, allocations: 0 / 445.5 MB, free: 33.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.2279, allocations: 3 kB / 445.5 MB, free: 33.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.2279, allocations: 0 / 445.5 MB, free: 33.65 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.001792/0.2297, allocations: 1.028 MB / 446.5 MB, free: 32.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.2298, allocations: 15.31 kB / 446.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2299, allocations: 83.16 kB / 446.6 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.23, allocations: 258.1 kB / 446.9 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.667e-05/0.2301, allocations: 67.78 kB / 446.9 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.2302, allocations: 85.44 kB / 447 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.2312, allocations: 0.7351 MB / 447.8 MB, free: 32.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.2313, allocations: 0 / 447.8 MB, free: 32.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/0.2313, allocations: 36.25 kB / 447.8 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.2313, allocations: 23.62 kB / 447.8 MB, free: 32.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.2324, allocations: 0.7222 MB / 448.5 MB, free: 32.02 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.002835/0.2352, allocations: 2.395 MB / 450.9 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.2368, allocations: 0.8792 MB / 451.8 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004383/0.2372, allocations: 334.8 kB / 452.1 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.137e-05/0.2373, allocations: 14.64 kB / 452.2 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.2373, allocations: 46.12 kB / 452.2 MB, free: 29.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=103): time 1.954e-06/0.2374, allocations: 3.906 kB / 452.2 MB, free: 29.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=114): time 0.008117/0.2455, allocations: 3.413 MB / 455.6 MB, free: 28.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.2455, allocations: 68.28 kB / 455.7 MB, free: 28.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.2457, allocations: 206.4 kB / 455.9 MB, free: 28.08 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.2457, allocations: 45.95 kB / 455.9 MB, free: 28.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.356e-05/0.2458, allocations: 252.2 kB / 456.2 MB, free: 27.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.246, allocations: 387.5 kB / 456.6 MB, free: 27.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.2463, allocations: 153.7 kB / 456.7 MB, free: 27.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.2463, allocations: 356.9 kB / 457.1 MB, free: 27.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/0.2468, allocations: 302.9 kB / 457.4 MB, free: 26.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000532/0.2474, allocations: 397.6 kB / 457.7 MB, free: 26.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.2585, allocations: 2.319 MB / 460.1 MB, free: 26.1 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2585, allocations: 1.281 kB / 460.1 MB, free: 26.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002578/0.2611, allocations: 1.162 MB / 461.2 MB, free: 25.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2612, allocations: 5.406 kB / 461.2 MB, free: 25.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2612, allocations: 1.125 kB / 461.2 MB, free: 25.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.2627, allocations: 339.4 kB / 461.6 MB, free: 25.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00618/0.2689, allocations: 0.7494 MB / 462.3 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.279, allocations: 14.74 MB / 477.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007749/0.2798, allocations: 52.38 kB / 477.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.2799, allocations: 30.53 kB / 477.1 MB, free: 11 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.0004252/0.2803, allocations: 241.8 kB / 477.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2804, allocations: 51.59 kB / 477.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003263/0.2837, allocations: 1.387 MB / 478.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.2837, allocations: 11 kB / 478.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.2837, allocations: 2.078 kB / 478.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.2837, allocations: 11.14 kB / 478.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/0.2883, allocations: 2.55 MB / 481.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.2883, allocations: 6.969 kB / 481.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005388/0.2937, allocations: 0.6892 MB / 482.1 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002667/0.2964, allocations: 487.4 kB / 482.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/0.2966, allocations: 36.8 kB / 482.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.3085, allocations: 14.91 MB / 497.5 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.3086, allocations: 12.7 kB / 497.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/0.3126, allocations: 1.956 MB / 499.5 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3128, allocations: 138 kB / 499.6 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.3129, allocations: 30.52 kB / 499.6 MB, free: 8.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.3136, allocations: 54.11 kB / 499.7 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/0.3139, allocations: 123.4 kB / 499.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/0.314, allocations: 38.53 kB / 499.8 MB, free: 8.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.3141, allocations: 160.5 kB / 0.4883 GB, free: 8.648 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3141, allocations: 0 / 0.4883 GB, free: 8.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00115/0.3153, allocations: 264.1 kB / 0.4885 GB, free: 8.609 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.000189/0.3155, allocations: 141 kB / 0.4887 GB, free: 8.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007346/0.3228, allocations: 1.949 MB / 0.4906 GB, free: 7.441 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.431e-06/0.3229, allocations: 4 kB / 0.4906 GB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006334/0.3292, allocations: 1.592 MB / 0.4921 GB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.3303, allocations: 175.9 kB / 0.4923 GB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.3334, allocations: 2.212 MB / 0.4945 GB, free: 3.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.3339, allocations: 0.9288 MB / 0.4954 GB, free: 2.777 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.3342, allocations: 53.17 kB / 0.4954 GB, free: 2.727 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3342, allocations: 0 / 0.4954 GB, free: 2.727 MB / 366.1 MB Notification: Performance of Templates: time 0.0309/0.3651, allocations: 35.23 MB / 0.5298 GB, free: 15.51 MB / 414.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)