Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07773/0.07773, allocations: 19.39 MB / 34.64 MB, free: 280 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000939/0.0009391, allocations: 176.8 kB / 40.28 MB, free: 6.539 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 225.7 MB / 271.5 MB, free: 3.254 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007886/0.0007886, allocations: 83.83 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005078/0.0005079, allocations: 8 kB / 395.4 MB, free: 47.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1177, allocations: 55.18 MB / 450.6 MB, free: 8.676 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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.Coursework.ThermSys_component_models.HeatExchanger_1vol): time 0.02369/0.1414, allocations: 18.14 MB / 468.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006234/0.142, allocations: 235.3 kB / 468.9 MB, free: 6.262 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.1423, allocations: 11.94 kB / 468.9 MB, free: 6.25 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.523e-05/0.1423, allocations: 23.84 kB / 469 MB, free: 6.227 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.1426, allocations: 75.38 kB / 469 MB, free: 6.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.1428, allocations: 43.91 kB / 469.1 MB, free: 6.109 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.1431, allocations: 258.7 kB / 469.3 MB, free: 5.855 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002539/0.1433, allocations: 121.3 kB / 469.5 MB, free: 5.734 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.1435, allocations: 115.4 kB / 469.6 MB, free: 5.621 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1437, allocations: 83.52 kB / 469.6 MB, free: 5.539 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.1437, allocations: 8 kB / 469.7 MB, free: 5.531 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.033e-05/0.1438, allocations: 8 kB / 469.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.1438, allocations: 31.84 kB / 469.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.144, allocations: 129 kB / 469.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.1442, allocations: 199.2 kB / 470 MB, free: 5.164 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1442, allocations: 0 / 470 MB, free: 5.164 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1442, allocations: 0 / 470 MB, free: 5.164 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1443, allocations: 8 kB / 470 MB, free: 5.156 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006541/0.1449, allocations: 478.9 kB / 470.5 MB, free: 4.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.145, allocations: 11.97 kB / 470.5 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.286e-05/0.145, allocations: 24.66 kB / 470.5 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.1453, allocations: 260.7 kB / 470.8 MB, free: 4.309 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.1454, allocations: 12.7 kB / 470.8 MB, free: 4.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.1454, allocations: 16.38 kB / 470.8 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.1457, allocations: 196.3 kB / 471 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1458, allocations: 192 / 471 MB, free: 4.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.1458, allocations: 11.94 kB / 471 MB, free: 4.059 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1458, allocations: 4 kB / 471 MB, free: 4.055 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.1461, allocations: 119.9 kB / 471.1 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009461/0.147, allocations: 0.8365 MB / 472 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.1473, allocations: 86.55 kB / 472.1 MB, free: 2.941 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001691/0.1474, allocations: 60.83 kB / 472.1 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.1475, allocations: 7.938 kB / 472.1 MB, free: 2.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1475, allocations: 30.56 kB / 472.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.1475, allocations: 0 / 472.2 MB, free: 2.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004561/0.148, allocations: 177.4 kB / 472.3 MB, free: 2.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.148, allocations: 59.39 kB / 472.4 MB, free: 2.582 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.1482, allocations: 217 kB / 472.6 MB, free: 2.363 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1482, allocations: 29.7 kB / 472.6 MB, free: 2.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.1484, allocations: 136.2 kB / 472.8 MB, free: 2.188 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.1484, allocations: 55.2 kB / 472.8 MB, free: 2.133 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.1484, allocations: 0 / 472.8 MB, free: 2.133 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1486, allocations: 334.8 kB / 473.1 MB, free: 1.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1487, allocations: 35.98 kB / 473.2 MB, free: 1.762 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1488, allocations: 70.48 kB / 473.2 MB, free: 1.684 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/0.1496, allocations: 218.7 kB / 473.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1496, allocations: 0 / 473.5 MB, free: 1.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003133/0.1499, allocations: 165.2 kB / 473.6 MB, free: 1.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1499, allocations: 8.062 kB / 473.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/0.15, allocations: 0 / 473.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.15, allocations: 11.92 kB / 473.6 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.1502, allocations: 35.92 kB / 473.7 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.1502, allocations: 0 / 473.7 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.1503, allocations: 23.83 kB / 473.7 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1503, allocations: 4 kB / 473.7 MB, free: 1.211 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 335.9832537028189 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 (18): * Single equations (assignments): 18 * 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.0001855/0.1505, allocations: 145.7 kB / 473.8 MB, free: 1.059 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.576e-05/0.1506, allocations: 15.81 kB / 473.9 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.7e-05/0.1507, allocations: 25.83 kB / 473.9 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1507, allocations: 4 kB / 473.9 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1507, allocations: 0 / 473.9 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1507, allocations: 0 / 473.9 MB, free: 1.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.151, allocations: 261.4 kB / 474.1 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.151, allocations: 0 / 474.1 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.1512, allocations: 35.98 kB / 474.2 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1512, allocations: 0 / 474.2 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1512, allocations: 4 kB / 474.2 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1512, allocations: 0 / 474.2 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1512, allocations: 0 / 474.2 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/0.1517, allocations: 295.4 kB / 474.5 MB, free: 376 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.1518, allocations: 104.9 kB / 474.6 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.1518, allocations: 0 / 474.6 MB, free: 252 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.152, allocations: 8 kB / 474.6 MB, free: 244 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.152, allocations: 7.984 kB / 474.6 MB, free: 236 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1521, allocations: 4 kB / 474.6 MB, free: 232 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.1522, allocations: 160.5 kB / 474.7 MB, free: 68 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1522, allocations: 0 / 474.7 MB, free: 68 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.000256/0.1525, allocations: 43.91 kB / 474.8 MB, free: 24 kB / 330.7 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 (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 Backend phase and start with SimCode phase: time 0.0001764/0.1527, allocations: 111.2 kB / 474.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003347/0.153, allocations: 119.8 kB / 475 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.153, allocations: 0 / 475 MB, free: 15.79 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.1532, allocations: 51.92 kB / 475.1 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.1536, allocations: 48.41 kB / 475.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1548, allocations: 0.6484 MB / 475.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1552, allocations: 0.7403 MB / 476.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001707/0.1554, allocations: 33.92 kB / 476.5 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.1555, allocations: 23.44 kB / 476.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1555, allocations: 0 / 476.6 MB, free: 14.19 MB / 346.7 MB Notification: Performance of Templates: time 0.005351/0.1608, allocations: 2.046 MB / 478.6 MB, free: 12.15 MB / 346.7 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol.pipe 2>&1)