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.001096/0.001096, allocations: 108 kB / 16.41 MB, free: 6.453 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.001011/0.001011, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09761/0.09761, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.88 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09002/0.09136, allocations: 54.96 MB / 492.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.004997/0.09639, allocations: 4.253 MB / 496.9 MB, free: 472 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002858/0.09929, allocations: 1.325 MB / 498.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005885/0.09991, allocations: 8 kB / 498.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002576/0.1002, allocations: 87.06 kB / 498.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006257/0.1009, allocations: 233.9 kB / 498.6 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006657/0.1015, allocations: 311.5 kB / 498.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.1027, allocations: 1.162 MB / 0.4883 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006224/0.1033, allocations: 472.9 kB / 0.4888 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005378/0.1039, allocations: 422.8 kB / 0.4892 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006222/0.1045, allocations: 442.4 kB / 0.4896 GB, free: 12.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.1047, allocations: 100 kB / 0.4897 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.1049, allocations: 100 kB / 0.4898 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.1051, allocations: 211.4 kB / 0.49 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004715/0.1056, allocations: 454.1 kB / 0.4904 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008378/0.1064, allocations: 1.024 MB / 0.4914 GB, free: 10.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1064, allocations: 3.984 kB / 0.4914 GB, free: 10.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1064, allocations: 4 kB / 0.4914 GB, free: 10.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.1065, 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.00208/0.1085, allocations: 1.026 MB / 0.4924 GB, free: 9.066 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1086, allocations: 15.97 kB / 0.4925 GB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.1087, allocations: 76 kB / 0.4925 GB, free: 8.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.109, allocations: 255.8 kB / 0.4928 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.109, allocations: 74.11 kB / 0.4928 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.1091, allocations: 92 kB / 0.4929 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.1104, allocations: 0.7297 MB / 0.4936 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.1104, allocations: 0 / 0.4936 GB, free: 7.785 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.1105, allocations: 32 kB / 0.4937 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.1105, allocations: 24 kB / 0.4937 GB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.1117, allocations: 0.7261 MB / 0.4944 GB, free: 7.008 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.003516/0.1153, allocations: 2.393 MB / 0.4967 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/0.1171, allocations: 0.8941 MB / 0.4976 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005257/0.1176, allocations: 335.8 kB / 0.4979 GB, free: 3.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.1177, allocations: 16.92 kB / 0.498 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1177, allocations: 43.56 kB / 0.498 GB, free: 3.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.584e-06/0.1177, allocations: 3.938 kB / 0.498 GB, free: 3.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.1892/0.3069, allocations: 3.407 MB / 0.5013 GB, free: 22.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.3069, allocations: 63.16 kB / 0.5014 GB, free: 21.96 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.3072, allocations: 215.6 kB / 0.5016 GB, free: 21.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.3073, allocations: 44.73 kB / 0.5016 GB, free: 21.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.696e-05/0.3074, allocations: 256.2 kB / 0.5019 GB, free: 21.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.3077, allocations: 381.1 kB / 0.5022 GB, free: 21.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/0.308, allocations: 151.9 kB / 0.5024 GB, free: 21.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.509e-05/0.3081, allocations: 357.2 kB / 0.5027 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004938/0.3086, allocations: 301.1 kB / 0.503 GB, free: 21.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.3091, allocations: 396.6 kB / 0.5034 GB, free: 21.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.3198, allocations: 2.318 MB / 0.5057 GB, free: 21.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3198, allocations: 0 / 0.5057 GB, free: 21.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002553/0.3224, allocations: 1.164 MB / 0.5068 GB, free: 20.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.3224, allocations: 13.72 kB / 0.5068 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3224, allocations: 2.828 kB / 0.5068 GB, free: 20.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.324, allocations: 329.9 kB / 0.5071 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005398/0.3294, allocations: 0.7435 MB / 0.5078 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01034/0.3397, allocations: 15.88 MB / 0.5234 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.3403, allocations: 33.41 kB / 0.5234 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.792e-05/0.3404, allocations: 30.31 kB / 0.5234 GB, free: 6.426 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.0003727/0.3408, allocations: 237.9 kB / 0.5236 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3409, allocations: 49.84 kB / 0.5237 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003146/0.3441, allocations: 1.389 MB / 0.5251 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/0.3441, allocations: 15.06 kB / 0.5251 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.3441, allocations: 2.531 kB / 0.5251 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.3442, allocations: 5.391 kB / 0.5251 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004616/0.3488, allocations: 2.543 MB / 0.5276 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.3488, allocations: 5.875 kB / 0.5276 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005113/0.3539, allocations: 0.6879 MB / 0.5282 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002554/0.3565, allocations: 492.4 kB / 0.5287 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/0.3567, allocations: 33.52 kB / 0.5287 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/0.3697, allocations: 16.12 MB / 0.5445 GB, free: 5.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.3698, allocations: 12.47 kB / 0.5445 GB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/0.3741, allocations: 1.966 MB / 0.5464 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.3742, allocations: 127.4 kB / 0.5465 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.3744, allocations: 31.84 kB / 0.5466 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00066/0.375, allocations: 36.53 kB / 0.5466 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002954/0.3754, allocations: 120.1 kB / 0.5467 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/0.3754, allocations: 37.5 kB / 0.5468 GB, free: 4.527 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.3756, allocations: 167.2 kB / 0.5469 GB, free: 4.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3756, allocations: 1.938 kB / 0.5469 GB, free: 4.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001274/0.3769, allocations: 264.4 kB / 0.5472 GB, free: 4.375 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.0002044/0.3771, allocations: 141.8 kB / 0.5473 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006965/0.3841, allocations: 1.964 MB / 0.5492 GB, free: 3.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.3841, allocations: 1.219 kB / 0.5492 GB, free: 3.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006007/0.3902, allocations: 1.61 MB / 0.5508 GB, free: 2.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.3914, allocations: 190.1 kB / 0.551 GB, free: 2.316 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003181/0.3946, allocations: 1.839 MB / 0.5528 GB, free: 1.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.3952, allocations: 0.9346 MB / 0.5537 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.3955, allocations: 50.8 kB / 0.5537 GB, free: 216 kB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3955, allocations: 0 / 0.5537 GB, free: 216 kB / 398.1 MB Notification: Performance of Templates: time 0.03329/0.4288, allocations: 35.25 MB / 0.5881 GB, free: 15.04 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)