Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HE_LiquidLiquid_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_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001095, allocations: 117.6 kB / 16.37 MB, free: 6.016 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.001844/0.001844, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09124/0.09124, allocations: 22.32 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.001991, allocations: 63.59 kB / 382.2 MB, free: 41.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09588/0.09789, allocations: 54.95 MB / 437.2 MB, free: 12.25 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HE_LiquidLiquid_001): time 0.03011/0.1281, allocations: 21.49 MB / 458.7 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006242/0.1287, allocations: 231.2 kB / 458.9 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1288, allocations: 11.94 kB / 458.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.367e-05/0.1289, allocations: 23.72 kB / 459 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.1291, allocations: 99.17 kB / 459.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.1292, allocations: 39.94 kB / 459.1 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.1295, allocations: 286.5 kB / 459.4 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.1297, allocations: 137.3 kB / 459.5 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.1299, allocations: 107.6 kB / 459.6 MB, free: 5.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.13, allocations: 99.45 kB / 459.7 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.643e-05/0.1301, allocations: 16 kB / 459.7 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.17e-05/0.1301, allocations: 12 kB / 459.7 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.1301, allocations: 39.84 kB / 459.8 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1303, allocations: 99.48 kB / 459.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.1305, allocations: 219.1 kB / 460.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1305, allocations: 4 kB / 460.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1305, allocations: 0 / 460.1 MB, free: 5.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1305, allocations: 0 / 460.1 MB, free: 5.488 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007055/0.1312, allocations: 0.5061 MB / 460.6 MB, free: 4.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1313, allocations: 12.02 kB / 460.6 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.1313, allocations: 24.66 kB / 460.6 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003765/0.1317, allocations: 276.5 kB / 460.9 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1317, allocations: 8.375 kB / 460.9 MB, free: 4.574 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.1318, allocations: 16.38 kB / 460.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.1321, allocations: 175.3 kB / 461.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1321, allocations: 0 / 461.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.1321, allocations: 4 kB / 461.1 MB, free: 4.363 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1321, allocations: 4 kB / 461.1 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.1323, allocations: 91.89 kB / 461.2 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009197/0.1333, allocations: 0.8017 MB / 462 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1334, allocations: 74.55 kB / 462.1 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.1335, allocations: 44.84 kB / 462.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.1335, allocations: 0 / 462.1 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.1336, allocations: 30.56 kB / 462.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.1336, allocations: 0 / 462.1 MB, free: 3.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002854/0.1339, allocations: 129.3 kB / 462.3 MB, free: 3.102 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.1339, allocations: 51.41 kB / 462.3 MB, free: 3.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1342, allocations: 274.9 kB / 462.6 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.1342, allocations: 25.7 kB / 462.6 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.232e-05/0.1343, allocations: 147.9 kB / 462.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.1343, allocations: 35.69 kB / 462.8 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.1344, allocations: 29.66 kB / 462.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1345, allocations: 330.8 kB / 463.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.1346, allocations: 35.92 kB / 463.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.1347, allocations: 50.56 kB / 463.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005051/0.1352, allocations: 154.4 kB / 463.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1352, allocations: 0 / 463.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002154/0.1354, allocations: 145.4 kB / 463.5 MB, free: 1.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1354, allocations: 4 kB / 463.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1354, allocations: 0 / 463.5 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1355, allocations: 4 kB / 463.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.1356, allocations: 31.91 kB / 463.6 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1356, allocations: 3.938 kB / 463.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.515e-05/0.1357, allocations: 23.69 kB / 463.6 MB, free: 1.711 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1358, allocations: 4 kB / 463.6 MB, free: 1.707 MB / 334.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.1359, allocations: 140.9 kB / 463.7 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.136, allocations: 23.7 kB / 463.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.581e-05/0.136, allocations: 25.75 kB / 463.8 MB, free: 1.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.136, allocations: 7.922 kB / 463.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.136, allocations: 3.938 kB / 463.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.136, allocations: 0 / 463.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.1363, allocations: 233.6 kB / 464 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1363, allocations: 4 kB / 464 MB, free: 1.219 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.1364, allocations: 23.98 kB / 464 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1364, allocations: 0 / 464 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1365, allocations: 4 kB / 464 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1365, allocations: 0 / 464 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1365, allocations: 3.938 kB / 464 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.1368, allocations: 231.2 kB / 464.3 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.297e-05/0.1368, allocations: 104.8 kB / 464.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.1369, allocations: 4.062 kB / 464.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.137, allocations: 4 kB / 464.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.137, allocations: 11.92 kB / 464.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.137, allocations: 0 / 464.4 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001684/0.1372, allocations: 194 kB / 464.6 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1372, allocations: 0 / 464.6 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1375, allocations: 43.94 kB / 464.6 MB, free: 0.5703 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.945e-05/0.1376, allocations: 91.25 kB / 464.7 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1378, allocations: 75.92 kB / 464.8 MB, free: 404 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1378, allocations: 3.938 kB / 464.8 MB, free: 400 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.56e-05/0.1378, allocations: 35.98 kB / 464.8 MB, free: 364 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1382, allocations: 49.39 kB / 464.9 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008162/0.139, allocations: 0.5009 MB / 465.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1393, allocations: 0.7323 MB / 466.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.865e-05/0.1394, allocations: 30.28 kB / 466.1 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.1395, allocations: 19.44 kB / 466.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1395, allocations: 0 / 466.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Templates: time 0.004981/0.1445, allocations: 2.249 MB / 468.4 MB, free: 12.77 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.makefile (rm -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.sim & ./AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)