Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.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.Heater_power_vs_wTin.heater_wT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT") translateModel(AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.0817/0.0817, allocations: 19.4 MB / 34.65 MB, free: 148 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.0009531/0.0009531, allocations: 183.3 kB / 40.28 MB, free: 6.523 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.411/1.411, allocations: 225.7 MB / 271.5 MB, free: 3.258 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.000757/0.000757, allocations: 91.77 kB / 327.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003451, allocations: 8 kB / 395.4 MB, free: 47.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08714, allocations: 55.18 MB / 450.6 MB, free: 8.68 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_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/flowTwoPorts_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.Heater_power_vs_wTin.heater_wT): time 0.01906/0.1062, allocations: 18.2 MB / 468.8 MB, free: 6.43 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1078, allocations: 0.8599 MB / 469.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.1079, allocations: 4 kB / 469.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001162/0.1081, allocations: 23.78 kB / 469.6 MB, free: 5.5 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.1083, allocations: 91.34 kB / 469.7 MB, free: 5.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1086, allocations: 91.84 kB / 469.8 MB, free: 5.32 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004428/0.1091, allocations: 487 kB / 470.3 MB, free: 4.844 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000314/0.1094, allocations: 204.1 kB / 470.5 MB, free: 4.645 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.1096, allocations: 147.5 kB / 470.6 MB, free: 4.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002947/0.1099, allocations: 219.3 kB / 470.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.1099, allocations: 20 kB / 470.9 MB, free: 4.266 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1101, allocations: 47.97 kB / 470.9 MB, free: 4.219 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1102, allocations: 107.6 kB / 471 MB, free: 4.113 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.1104, allocations: 192.9 kB / 471.2 MB, free: 3.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004459/0.1109, allocations: 442.4 kB / 471.7 MB, free: 3.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1109, allocations: 0 / 471.7 MB, free: 3.484 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.1109, allocations: 0 / 471.7 MB, free: 3.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1109, allocations: 3.938 kB / 471.7 MB, free: 3.48 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001243/0.1121, allocations: 0.6316 MB / 472.3 MB, free: 2.801 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1122, allocations: 8.031 kB / 472.3 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.861e-05/0.1123, allocations: 40.45 kB / 472.3 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.1126, allocations: 294.7 kB / 472.6 MB, free: 2.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.1126, allocations: 20.94 kB / 472.6 MB, free: 2.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.1127, allocations: 32.36 kB / 472.7 MB, free: 2.375 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006395/0.1134, allocations: 348.8 kB / 473 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1134, allocations: 0 / 473 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.1134, allocations: 8 kB / 473 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1134, allocations: 8 kB / 473 MB, free: 2.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.1141, allocations: 342 kB / 473.4 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001913/0.116, allocations: 1.273 MB / 474.6 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000563/0.1166, allocations: 312.8 kB / 474.9 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004265/0.1171, allocations: 241.2 kB / 475.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001383/0.1172, allocations: 89.33 kB / 475.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1173, allocations: 34.8 kB / 475.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 1.453e-06/0.1173, allocations: 0 / 475.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.002496/0.1198, allocations: 1.214 MB / 476.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1198, allocations: 63.33 kB / 476.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.12, allocations: 242.6 kB / 476.8 MB, free: 13.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1201, allocations: 37.7 kB / 476.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/0.1202, allocations: 168.5 kB / 477 MB, free: 13.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.832e-05/0.1203, allocations: 94.56 kB / 477.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.1203, allocations: 8 kB / 477.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1204, allocations: 338.8 kB / 477.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.1208, allocations: 183.9 kB / 477.6 MB, free: 13.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003593/0.1211, allocations: 183.9 kB / 477.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007427/0.1219, allocations: 410.4 kB / 478.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1219, allocations: 0 / 478.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001294/0.1232, allocations: 0.5831 MB / 478.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.1232, allocations: 4 kB / 478.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1232, allocations: 0 / 478.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.1238, allocations: 148.1 kB / 478.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001555/0.1254, allocations: 199.8 kB / 479.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004681/0.1301, allocations: 7.305 MB / 486.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.1304, allocations: 55.81 kB / 486.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.1305, allocations: 11.94 kB / 486.5 MB, free: 3.512 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (31): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.1306, allocations: 153.8 kB / 486.7 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.1307, allocations: 23.72 kB / 486.7 MB, free: 3.328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.132, allocations: 0.5862 MB / 487.3 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1321, allocations: 4 kB / 487.3 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1321, allocations: 4 kB / 487.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1321, allocations: 7.984 kB / 487.3 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.1325, allocations: 433.1 kB / 487.7 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1326, allocations: 3.984 kB / 487.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/0.1342, allocations: 187.8 kB / 487.9 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004835/0.1347, allocations: 148.1 kB / 488 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.1347, allocations: 8 kB / 488 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00463/0.1393, allocations: 7.301 MB / 495.3 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1394, allocations: 0 / 495.3 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.141, allocations: 0.8799 MB / 496.2 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.1411, allocations: 104.8 kB / 496.3 MB, free: 8.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.1411, allocations: 11.98 kB / 496.3 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.1414, allocations: 35.83 kB / 496.4 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.1415, allocations: 31.94 kB / 496.4 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.1416, allocations: 8 kB / 496.4 MB, free: 8.766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1417, allocations: 178 kB / 496.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.443e-06/0.1417, allocations: 0 / 496.6 MB, free: 8.594 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004364/0.1422, allocations: 131.8 kB / 496.7 MB, free: 8.465 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (23): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001739/0.1423, allocations: 120 kB / 496.8 MB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.1449, allocations: 1.114 MB / 497.9 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1449, allocations: 7.938 kB / 498 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.1468, allocations: 0.9142 MB / 498.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.1473, allocations: 64.47 kB / 498.9 MB, free: 6.113 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.1502, allocations: 1.391 MB / 0.4886 GB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1506, allocations: 0.7876 MB / 0.4894 GB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001807/0.1508, allocations: 42.97 kB / 0.4894 GB, free: 3.836 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/0.1509, allocations: 23.44 kB / 0.4894 GB, free: 3.812 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1509, allocations: 0 / 0.4894 GB, free: 3.812 MB / 362.7 MB Notification: Performance of Templates: time 0.009636/0.1605, allocations: 5.82 MB / 0.4951 GB, free: 14 MB / 378.7 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.sim & ./AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Heater_power_vs_wTin.heater_wT.pipe 2>&1)