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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/AES main/package.mo): time 0.07602/0.07602, allocations: 17.69 MB / 33.63 MB, free: 1.789 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001318, allocations: 180.1 kB / 38.91 MB, free: 20 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 249.5 MB, free: 2.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 92.77 kB / 302.2 MB, free: 4.414 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004615, allocations: 12 kB / 366.9 MB, free: 3.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3013, allocations: 51.98 MB / 418.9 MB, free: 24.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.424, allocations: 81.9 MB / 0.4891 GB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/0.4245, allocations: 71.97 kB / 0.4892 GB, free: 6.305 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.302/0.7265, allocations: 9.316 MB / 0.4982 GB, free: 80.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.7265, allocations: 7.938 kB / 0.4983 GB, free: 80.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.633e-05/0.7266, allocations: 13.12 kB / 0.4983 GB, free: 80.34 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002718/0.7293, allocations: 0.8336 MB / 0.4991 GB, free: 79.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.424e-05/0.7294, allocations: 8.125 kB / 0.4991 GB, free: 79.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.7297, allocations: 73.72 kB / 0.4992 GB, free: 79.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.73, allocations: 235.6 kB / 0.4994 GB, free: 79.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.614e-05/0.7301, allocations: 60.75 kB / 0.4994 GB, free: 79.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.7302, allocations: 76.97 kB / 0.4995 GB, free: 79.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.7316, allocations: 0.653 MB / 0.5002 GB, free: 79.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.7316, allocations: 1.25 kB / 0.5002 GB, free: 79.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.7317, allocations: 34.12 kB / 0.5002 GB, free: 79.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.751e-05/0.7317, allocations: 17.97 kB / 0.5002 GB, free: 79.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.7329, allocations: 0.6752 MB / 0.5009 GB, free: 79.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/0.7365, allocations: 1.901 MB / 0.5027 GB, free: 78.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.7377, allocations: 0.6273 MB / 0.5033 GB, free: 78.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/0.7382, allocations: 267.1 kB / 0.5036 GB, free: 78.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-05/0.7383, allocations: 15.34 kB / 0.5036 GB, free: 78.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.7384, allocations: 46.36 kB / 0.5036 GB, free: 78.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=84): time 2.905e-06/0.7384, allocations: 0.5312 kB / 0.5036 GB, free: 78.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=84): time 0.003089/0.7415, allocations: 1.29 MB / 0.5049 GB, free: 77.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.7415, allocations: 62.48 kB / 0.505 GB, free: 77.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.7417, allocations: 229.8 kB / 0.5052 GB, free: 77.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.503e-05/0.7418, allocations: 41.52 kB / 0.5052 GB, free: 77.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.7419, allocations: 253.8 kB / 0.5055 GB, free: 76.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.7421, allocations: 285 kB / 0.5057 GB, free: 76.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.7421, allocations: 15.97 kB / 0.5058 GB, free: 76.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7423, allocations: 344.3 kB / 0.5061 GB, free: 76.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.7426, allocations: 232.6 kB / 0.5063 GB, free: 76.26 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.743, allocations: 307.2 kB / 0.5066 GB, free: 76.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006055/0.7491, allocations: 1.615 MB / 0.5082 GB, free: 75.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.7491, allocations: 0 / 0.5082 GB, free: 75.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001166/0.7503, allocations: 0.7458 MB / 0.5089 GB, free: 75.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.7503, allocations: 9.438 kB / 0.5089 GB, free: 75.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7503, allocations: 6.422 kB / 0.5089 GB, free: 75.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.7505, allocations: 71.8 kB / 0.509 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005896/0.7565, allocations: 0.879 MB / 0.5098 GB, free: 75.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006805/0.7633, allocations: 12.04 MB / 0.5216 GB, free: 62.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008914/0.7642, allocations: 94.39 kB / 0.5217 GB, free: 62.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.984e-05/0.7643, allocations: 31.22 kB / 0.5217 GB, free: 62.71 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: 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: 7 * 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 (96): * Single equations (assignments): 87 * 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: 3 * 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 {(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005362/0.7648, allocations: 203.5 kB / 0.5219 GB, free: 62.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.106e-05/0.7649, allocations: 46.94 kB / 0.522 GB, free: 62.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.7665, allocations: 0.871 MB / 0.5228 GB, free: 61.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.7665, allocations: 8 kB / 0.5228 GB, free: 61.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.7665, allocations: 0 / 0.5228 GB, free: 61.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.7665, allocations: 11.73 kB / 0.5228 GB, free: 61.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.7695, allocations: 1.912 MB / 0.5247 GB, free: 59.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.7695, allocations: 4 kB / 0.5247 GB, free: 59.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004936/0.7744, allocations: 0.7628 MB / 0.5254 GB, free: 59.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004933/0.7749, allocations: 138.5 kB / 0.5256 GB, free: 58.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.391e-05/0.775, allocations: 27.98 kB / 0.5256 GB, free: 58.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006959/0.782, allocations: 12.32 MB / 0.5376 GB, free: 45.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.782, allocations: 11.94 kB / 0.5376 GB, free: 45.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.7841, allocations: 1.392 MB / 0.539 GB, free: 43.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001782/0.7843, allocations: 143.4 kB / 0.5391 GB, free: 43.69 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.482e-05/0.7844, allocations: 28 kB / 0.5392 GB, free: 43.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005315/0.7849, allocations: 43.97 kB / 0.5392 GB, free: 43.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.7851, allocations: 88.38 kB / 0.5393 GB, free: 43.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.7852, allocations: 27.98 kB / 0.5393 GB, free: 43.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.7853, allocations: 161.6 kB / 0.5395 GB, free: 43.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7853, allocations: 0 / 0.5395 GB, free: 43.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008583/0.7862, allocations: 235.5 kB / 0.5397 GB, free: 43.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 5 (AHU.T,AHU.phi,V.Ma,V.Mv,V.Ea) * 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 (85): * Single equations (assignments): 76 * 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: 3 * 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 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001949/0.7864, allocations: 139 kB / 0.5398 GB, free: 42.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005477/0.7919, allocations: 1.511 MB / 0.5413 GB, free: 41.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.7919, allocations: 8.125 kB / 0.5413 GB, free: 41.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004561/0.7965, allocations: 1.25 MB / 0.5425 GB, free: 40.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.7975, allocations: 138.7 kB / 0.5427 GB, free: 39.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.8003, allocations: 1.844 MB / 0.5445 GB, free: 38.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.8007, allocations: 0.881 MB / 0.5453 GB, free: 37.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006126/0.8013, allocations: 88.64 kB / 0.5454 GB, free: 37.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001552/0.8015, allocations: 47.44 kB / 0.5455 GB, free: 37.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.373e-06/0.8015, allocations: 0 / 0.5455 GB, free: 37.02 MB / 362.7 MB Notification: Performance of Templates: time 0.01389/0.8154, allocations: 8.822 MB / 0.5541 GB, free: 28.21 MB / 362.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_AHU_001.pipe 2>&1)