Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.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_Transport.Valve_linearisation_case_004_LTI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI") translateModel(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.08135/0.08135, allocations: 19.39 MB / 34.65 MB, free: 76 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.00157/0.001569, allocations: 178.5 kB / 40.28 MB, free: 6.527 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.469/1.469, allocations: 225.7 MB / 271.5 MB, free: 3.277 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.0008776/0.0008777, allocations: 95.75 kB / 327.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006494/0.0006494, allocations: 12 kB / 395.4 MB, free: 47.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1185, allocations: 55.19 MB / 450.6 MB, free: 8.676 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI): time 0.001297/0.1198, allocations: 0.6629 MB / 451.2 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.1217, allocations: 1.175 MB / 452.4 MB, free: 6.824 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.502e-05/0.1218, allocations: 0 / 452.4 MB, free: 6.824 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.1221, allocations: 35.89 kB / 452.4 MB, free: 6.789 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.1223, allocations: 43.83 kB / 452.5 MB, free: 6.746 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.1225, allocations: 67.91 kB / 452.6 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002221/0.1227, allocations: 195.5 kB / 452.7 MB, free: 6.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1228, allocations: 25.42 kB / 452.8 MB, free: 6.461 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.123, allocations: 75.75 kB / 452.8 MB, free: 6.387 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.1231, allocations: 75.7 kB / 452.9 MB, free: 6.312 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.025e-05/0.1232, allocations: 7.938 kB / 452.9 MB, free: 6.305 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.094e-05/0.1232, allocations: 8 kB / 452.9 MB, free: 6.297 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/0.1233, allocations: 35.84 kB / 453 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.428e-05/0.1234, allocations: 69.36 kB / 453 MB, free: 6.188 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.1235, allocations: 99.58 kB / 453.1 MB, free: 6.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1235, allocations: 4 kB / 453.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1235, allocations: 0 / 453.1 MB, free: 6.086 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1235, allocations: 0 / 453.1 MB, free: 6.086 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001032/0.1246, allocations: 482.9 kB / 453.6 MB, free: 5.566 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1246, allocations: 13.16 kB / 453.6 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.1247, allocations: 16.75 kB / 453.6 MB, free: 5.539 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005158/0.1252, allocations: 272.7 kB / 453.9 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1252, allocations: 12.31 kB / 453.9 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.277e-05/0.1253, allocations: 8.375 kB / 453.9 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1255, allocations: 109.8 kB / 454 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.1255, allocations: 0 / 454 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1255, allocations: 3.984 kB / 454 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.1255, allocations: 0 / 454 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.1257, allocations: 79.95 kB / 454.1 MB, free: 5.016 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.1264, allocations: 424.4 kB / 454.5 MB, free: 4.551 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.1267, allocations: 146.7 kB / 454.7 MB, free: 4.398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.74e-05/0.1268, allocations: 52.83 kB / 454.7 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1269, allocations: 4 kB / 454.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1269, allocations: 38.55 kB / 454.8 MB, free: 4.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1269, allocations: 0 / 454.8 MB, free: 4.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.002318/0.1292, allocations: 487.1 kB / 455.2 MB, free: 3.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.1293, allocations: 59.34 kB / 455.3 MB, free: 3.719 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.1297, allocations: 238.3 kB / 455.5 MB, free: 3.477 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1298, allocations: 25.7 kB / 455.6 MB, free: 3.445 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/0.1299, allocations: 112.1 kB / 455.7 MB, free: 3.332 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.1299, allocations: 35.55 kB / 455.7 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.1299, allocations: 0 / 455.7 MB, free: 3.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.13, allocations: 326.8 kB / 456 MB, free: 2.969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.1301, allocations: 31.98 kB / 456 MB, free: 2.938 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/0.1302, allocations: 39.97 kB / 456.1 MB, free: 2.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.1315, allocations: 292.9 kB / 456.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.1315, allocations: 0 / 456.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008617/0.1324, allocations: 242.2 kB / 456.6 MB, free: 2.363 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1324, allocations: 8 kB / 456.6 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1324, allocations: 3.938 kB / 456.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008134/0.1333, allocations: 120.7 kB / 456.7 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.1333, allocations: 15.98 kB / 456.8 MB, free: 2.215 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003154/0.1365, allocations: 1.747 MB / 458.5 MB, free: 340 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.1367, allocations: 28 kB / 458.5 MB, free: 312 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1367, allocations: 0 / 458.5 MB, free: 312 kB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: A.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001447/0.1369, allocations: 133.9 kB / 458.7 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.485e-05/0.1369, allocations: 15.75 kB / 458.7 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008038/0.1377, allocations: 275.7 kB / 458.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1377, allocations: 0 / 458.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1378, allocations: 0 / 458.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1378, allocations: 0 / 458.9 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.138, allocations: 241.5 kB / 459.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.138, allocations: 0 / 459.2 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.906e-05/0.1381, allocations: 8 kB / 459.2 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000612/0.1387, allocations: 120.7 kB / 459.3 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1387, allocations: 7.938 kB / 459.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.1409, allocations: 1.687 MB / 461 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1409, allocations: 3.938 kB / 461 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008095/0.1418, allocations: 400.2 kB / 461.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.1418, allocations: 88.95 kB / 461.5 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.1419, allocations: 11.98 kB / 461.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.1421, allocations: 24.03 kB / 461.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.1421, allocations: 15.98 kB / 461.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.1421, allocations: 0 / 461.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003701/0.1425, allocations: 190.6 kB / 461.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1425, allocations: 0 / 461.7 MB, free: 12.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.1428, allocations: 35.94 kB / 461.8 MB, free: 12.84 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (A.x_scaled[1],C.x_scaled[1]) * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.1429, allocations: 107.2 kB / 461.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004114/0.1433, allocations: 238.7 kB / 462.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1434, allocations: 0 / 462.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.1436, allocations: 194.6 kB / 462.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.1439, allocations: 39.98 kB / 462.3 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000537/0.1445, allocations: 345.3 kB / 462.7 MB, free: 11.87 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1447, allocations: 0.7283 MB / 463.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.607e-05/0.1448, allocations: 20.62 kB / 463.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.1449, allocations: 15.44 kB / 463.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1449, allocations: 0 / 463.4 MB, free: 11.08 MB / 330.7 MB Notification: Performance of Templates: time 0.005032/0.1499, allocations: 2.305 MB / 465.7 MB, free: 8.781 MB / 330.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.sim & ./AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.pipe 2>&1)