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.01155/0.01155, allocations: 98.36 kB / 15.73 MB, free: 6.055 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.001915/0.001915, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1087/0.1087, allocations: 22.33 MB / 312.8 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 59.91 kB / 437.1 MB, free: 11.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 54.95 MB / 492 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_AHU_001): time 0.005535/0.1215, allocations: 4.249 MB / 496.3 MB, free: 428 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1239, allocations: 1.329 MB / 497.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.1243, allocations: 4 kB / 497.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.1246, allocations: 87.06 kB / 497.7 MB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006609/0.1253, allocations: 237.9 kB / 497.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007496/0.126, allocations: 307.5 kB / 498.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.1274, allocations: 1.165 MB / 499.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008426/0.1282, allocations: 468.9 kB / 499.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007948/0.129, allocations: 426.8 kB / 0.4885 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008663/0.1299, allocations: 450.3 kB / 0.489 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.1302, allocations: 100 kB / 0.489 GB, free: 11.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003073/0.1305, allocations: 96 kB / 0.4891 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.1307, allocations: 207.4 kB / 0.4893 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005879/0.1313, allocations: 458.1 kB / 0.4898 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.1324, allocations: 1.023 MB / 0.4908 GB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1324, allocations: 4 kB / 0.4908 GB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1324, allocations: 0 / 0.4908 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.86e-05/0.1324, allocations: 0 / 0.4908 GB, free: 10.09 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.002455/0.1349, allocations: 1.049 MB / 0.4918 GB, free: 8.996 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.135, allocations: 8.031 kB / 0.4918 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.1352, allocations: 84.42 kB / 0.4919 GB, free: 8.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1354, allocations: 267.8 kB / 0.4921 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.1355, allocations: 66.12 kB / 0.4922 GB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.1356, allocations: 88 kB / 0.4923 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001414/0.1371, allocations: 0.7258 MB / 0.493 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.1371, allocations: 0 / 0.493 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.1372, allocations: 36 kB / 0.493 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.1372, allocations: 24 kB / 0.4931 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.1386, allocations: 0.7262 MB / 0.4938 GB, free: 6.938 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.004107/0.1427, allocations: 2.402 MB / 0.4961 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.1444, allocations: 0.8901 MB / 0.497 GB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.145, allocations: 339.7 kB / 0.4973 GB, free: 3.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.374e-05/0.1451, allocations: 20.92 kB / 0.4973 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.1451, allocations: 47.56 kB / 0.4974 GB, free: 3.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.196e-06/0.1452, allocations: 0 / 0.4974 GB, free: 3.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=114): time 0.2533/0.3985, allocations: 3.417 MB / 0.5007 GB, free: 21.99 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.3986, allocations: 62.78 kB / 0.5008 GB, free: 21.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.3988, allocations: 212.4 kB / 0.501 GB, free: 21.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.3989, allocations: 45.52 kB / 0.501 GB, free: 21.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.3991, allocations: 264.3 kB / 0.5013 GB, free: 21.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002376/0.3993, allocations: 402.8 kB / 0.5017 GB, free: 21.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.3995, allocations: 149 kB / 0.5018 GB, free: 21.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.041e-05/0.3996, allocations: 362.8 kB / 0.5021 GB, free: 21.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004952/0.4001, allocations: 297.6 kB / 0.5024 GB, free: 21.17 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.4007, allocations: 397.7 kB / 0.5028 GB, free: 21.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/0.4113, allocations: 2.322 MB / 0.5051 GB, free: 21.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.4113, allocations: 0.6562 kB / 0.5051 GB, free: 21.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002794/0.4141, allocations: 1.163 MB / 0.5062 GB, free: 20.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.4142, allocations: 10.92 kB / 0.5062 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.4142, allocations: 1.594 kB / 0.5062 GB, free: 20.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.4157, allocations: 333.4 kB / 0.5065 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005281/0.421, allocations: 0.7399 MB / 0.5073 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/0.4322, allocations: 15.89 MB / 0.5228 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/0.433, allocations: 33.17 kB / 0.5228 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.4331, allocations: 30.31 kB / 0.5228 GB, free: 6.414 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.0004605/0.4335, allocations: 220.9 kB / 0.523 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.4336, allocations: 58.27 kB / 0.5231 GB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.4369, allocations: 1.396 MB / 0.5245 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.4369, allocations: 11.45 kB / 0.5245 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.4369, allocations: 2.5 kB / 0.5245 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.511e-05/0.4369, allocations: 5.672 kB / 0.5245 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/0.4415, allocations: 2.545 MB / 0.527 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.4416, allocations: 6.5 kB / 0.527 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005115/0.4467, allocations: 0.6821 MB / 0.5276 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002491/0.4492, allocations: 490 kB / 0.5281 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.4493, allocations: 33 kB / 0.5281 GB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/0.4641, allocations: 16.15 MB / 0.5439 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.189e-05/0.4641, allocations: 7.719 kB / 0.5439 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005121/0.4693, allocations: 1.966 MB / 0.5458 GB, free: 4.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.4696, allocations: 130 kB / 0.546 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.4698, allocations: 34.42 kB / 0.546 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006911/0.4705, allocations: 44.7 kB / 0.546 GB, free: 4.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003692/0.4709, allocations: 113.2 kB / 0.5461 GB, free: 4.492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.471, allocations: 37.25 kB / 0.5462 GB, free: 4.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001918/0.4712, allocations: 169 kB / 0.5463 GB, free: 4.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4712, allocations: 0.8438 kB / 0.5463 GB, free: 4.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00162/0.4728, allocations: 261.5 kB / 0.5466 GB, free: 4.336 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.0002743/0.4731, allocations: 139.3 kB / 0.5467 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007784/0.4809, allocations: 1.999 MB / 0.5487 GB, free: 3.312 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-05/0.481, allocations: 2 kB / 0.5487 GB, free: 3.312 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007284/0.4883, allocations: 1.629 MB / 0.5503 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.49, allocations: 191.6 kB / 0.5505 GB, free: 2.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.4938, allocations: 1.841 MB / 0.5523 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007451/0.4946, allocations: 0.9311 MB / 0.5532 GB, free: 156 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005978/0.4952, allocations: 88.73 kB / 0.5532 GB, free: 96 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.4954, allocations: 44.56 kB / 0.5533 GB, free: 88 kB / 398.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4954, allocations: 4 kB / 0.5533 GB, free: 84 kB / 398.1 MB Notification: Performance of Templates: time 0.02384/0.5193, allocations: 13.71 MB / 0.5667 GB, free: 4.488 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)