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.001198/0.001198, allocations: 113.5 kB / 16.41 MB, free: 6.484 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.001322/0.001322, allocations: 183 kB / 17.34 MB, free: 5.762 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09125/0.09125, allocations: 22.33 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 63.91 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09385, allocations: 54.95 MB / 492.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005074/0.09896, allocations: 4.253 MB / 496.9 MB, free: 468 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.1013, allocations: 1.333 MB / 498.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004177/0.1018, allocations: 4 kB / 498.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.102, allocations: 87.06 kB / 498.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006643/0.1027, allocations: 233.9 kB / 498.6 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.1034, allocations: 307.5 kB / 498.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.1045, allocations: 1.173 MB / 0.4883 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005374/0.105, allocations: 464.9 kB / 0.4888 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.1055, allocations: 430.8 kB / 0.4892 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005173/0.106, allocations: 442.4 kB / 0.4896 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1061, allocations: 100 kB / 0.4897 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.1063, allocations: 100 kB / 0.4898 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1064, allocations: 211.4 kB / 0.49 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003492/0.1068, allocations: 450.1 kB / 0.4904 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008079/0.1076, allocations: 1.024 MB / 0.4914 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1076, allocations: 0 / 0.4914 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1076, allocations: 0 / 0.4914 GB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.1076, allocations: 0 / 0.4914 GB, free: 10.14 MB / 382.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.002026/0.1097, allocations: 1.038 MB / 0.4925 GB, free: 9.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.1097, allocations: 8.031 kB / 0.4925 GB, free: 9.043 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.1099, allocations: 80 kB / 0.4925 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.1101, allocations: 258.8 kB / 0.4928 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.409e-05/0.1102, allocations: 70.12 kB / 0.4928 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.1103, allocations: 91.94 kB / 0.4929 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.1115, allocations: 0.7297 MB / 0.4936 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1115, allocations: 0 / 0.4936 GB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.1116, allocations: 36 kB / 0.4937 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.797e-05/0.1116, allocations: 20 kB / 0.4937 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.1128, allocations: 0.7262 MB / 0.4944 GB, free: 7 MB / 382.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.003397/0.1162, allocations: 2.392 MB / 0.4967 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.1179, allocations: 0.8897 MB / 0.4976 GB, free: 3.574 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004996/0.1184, allocations: 335.8 kB / 0.4979 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.843e-05/0.1185, allocations: 13 kB / 0.4979 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.1185, allocations: 47.56 kB / 0.498 GB, free: 3.172 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.635e-06/0.1185, allocations: 448 / 0.498 GB, free: 3.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.2022/0.3207, allocations: 3.412 MB / 0.5013 GB, free: 22.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3208, allocations: 60.97 kB / 0.5014 GB, free: 22.56 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.321, allocations: 213.5 kB / 0.5016 GB, free: 22.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001335/0.3211, allocations: 46.03 kB / 0.5016 GB, free: 22.42 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3212, allocations: 254.5 kB / 0.5019 GB, free: 22.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.3215, allocations: 386.6 kB / 0.5022 GB, free: 22.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002139/0.3217, allocations: 152.4 kB / 0.5024 GB, free: 22.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.935e-05/0.3218, allocations: 357.1 kB / 0.5027 GB, free: 21.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.3223, allocations: 299.5 kB / 0.503 GB, free: 21.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.3228, allocations: 395.6 kB / 0.5034 GB, free: 21.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.3337, allocations: 2.318 MB / 0.5057 GB, free: 21.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.3338, allocations: 1.062 kB / 0.5057 GB, free: 21.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00255/0.3363, allocations: 1.168 MB / 0.5068 GB, free: 21.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3364, allocations: 10.88 kB / 0.5068 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3364, allocations: 4.781 kB / 0.5068 GB, free: 21.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.3379, allocations: 327.2 kB / 0.5071 GB, free: 21.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005622/0.3435, allocations: 0.7423 MB / 0.5078 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/0.3546, allocations: 15.89 MB / 0.5234 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.3553, allocations: 27.69 kB / 0.5234 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.3555, allocations: 30.48 kB / 0.5234 GB, free: 7.004 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: AHU.T:VARIABLE(min = 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 = 0.0 start = V.pstart unit = "Pa" fixed = true nominal = 1e5 stateSelect=StateSelect.always ) type: Real V.T:VARIABLE(min = 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.0004535/0.356, allocations: 231 kB / 0.5236 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.3561, allocations: 48.31 kB / 0.5237 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003347/0.3595, allocations: 1.393 MB / 0.525 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.3595, allocations: 11.47 kB / 0.5251 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.3595, allocations: 2.875 kB / 0.5251 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.3595, allocations: 8.094 kB / 0.5251 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005101/0.3646, allocations: 2.542 MB / 0.5276 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/0.3647, allocations: 7.062 kB / 0.5276 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00536/0.3701, allocations: 0.693 MB / 0.5282 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002516/0.3726, allocations: 490.5 kB / 0.5287 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.3728, allocations: 28.64 kB / 0.5287 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/0.3864, allocations: 16.13 MB / 0.5445 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.3864, allocations: 12.28 kB / 0.5445 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/0.3908, allocations: 1.963 MB / 0.5464 GB, free: 4.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.391, allocations: 134.2 kB / 0.5465 GB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.3911, allocations: 32.81 kB / 0.5466 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/0.3918, allocations: 30.38 kB / 0.5466 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003225/0.3921, allocations: 126.8 kB / 0.5467 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/0.3922, allocations: 40.52 kB / 0.5468 GB, free: 4.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001657/0.3924, allocations: 167.1 kB / 0.5469 GB, free: 4.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3924, allocations: 0 / 0.5469 GB, free: 4.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001255/0.3937, allocations: 261.2 kB / 0.5472 GB, free: 4.637 MB / 398.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.0002036/0.3939, allocations: 140.8 kB / 0.5473 GB, free: 4.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007283/0.4012, allocations: 1.969 MB / 0.5492 GB, free: 3.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.4012, allocations: 1.188 kB / 0.5492 GB, free: 3.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006385/0.4076, allocations: 1.605 MB / 0.5508 GB, free: 2.648 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.4089, allocations: 183.3 kB / 0.551 GB, free: 2.539 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/0.4124, allocations: 1.849 MB / 0.5528 GB, free: 1.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.4131, allocations: 0.9287 MB / 0.5537 GB, free: 448 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.4134, allocations: 50.44 kB / 0.5537 GB, free: 440 kB / 398.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4134, allocations: 0 / 0.5537 GB, free: 440 kB / 398.1 MB Notification: Performance of Templates: time 0.03629/0.4497, allocations: 35.31 MB / 0.5882 GB, free: 15.2 MB / 446.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)