Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Pumps_valve.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.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") translateModel(AES.Coursework.ThermSys_component_models.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.0762/0.0762, 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.00109/0.00109, allocations: 176.9 kB / 40.28 MB, free: 6.551 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.366/1.366, allocations: 225.7 MB / 271.5 MB, free: 3.273 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.0008007/0.0008011, allocations: 91.81 kB / 327.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004421/0.0004421, allocations: 12 kB / 395.4 MB, free: 47.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1115, allocations: 55.17 MB / 450.6 MB, free: 8.688 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.Pumps_valve): time 0.02001/0.1316, allocations: 18.53 MB / 469.1 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1329, allocations: 0.5475 MB / 469.6 MB, free: 5.523 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.133, allocations: 4 kB / 469.6 MB, free: 5.52 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 6.39e-05/0.1331, allocations: 27.77 kB / 469.7 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.1333, allocations: 87.3 kB / 469.7 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1336, allocations: 83.92 kB / 469.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000356/0.134, allocations: 374.2 kB / 470.2 MB, free: 4.957 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.1343, allocations: 210.7 kB / 470.4 MB, free: 4.754 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1345, allocations: 139.5 kB / 470.5 MB, free: 4.617 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.1347, allocations: 187.1 kB / 470.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.1347, allocations: 24 kB / 470.7 MB, free: 4.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1349, allocations: 51.97 kB / 470.8 MB, free: 4.359 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.1349, allocations: 75.67 kB / 470.9 MB, free: 4.285 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1351, allocations: 184.8 kB / 471 MB, free: 4.098 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.1355, allocations: 398.5 kB / 471.4 MB, free: 3.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1355, allocations: 4 kB / 471.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1355, allocations: 0 / 471.4 MB, free: 3.703 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1355, allocations: 0 / 471.4 MB, free: 3.703 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.0009724/0.1365, allocations: 0.6119 MB / 472 MB, free: 3.039 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1366, allocations: 9.156 kB / 472.1 MB, free: 3.031 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.255e-05/0.1366, allocations: 36.47 kB / 472.1 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.137, allocations: 291.2 kB / 472.4 MB, free: 2.672 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.137, allocations: 24.92 kB / 472.4 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.237e-05/0.1371, allocations: 24.38 kB / 472.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.1377, allocations: 281.4 kB / 472.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1377, allocations: 192 / 472.7 MB, free: 2.34 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.1377, allocations: 15.94 kB / 472.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.1377, allocations: 7.938 kB / 472.7 MB, free: 2.316 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.1383, allocations: 266.1 kB / 473 MB, free: 2.059 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.1396, allocations: 0.8032 MB / 473.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/0.1403, allocations: 258.5 kB / 474 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.1407, allocations: 148.8 kB / 474.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1407, allocations: 7.984 kB / 474.2 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.1407, allocations: 34.56 kB / 474.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001844/0.1409, allocations: 51.67 kB / 474.3 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.1409, allocations: 4 kB / 474.3 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.003157/0.1441, allocations: 0.9731 MB / 475.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.1442, allocations: 55.34 kB / 475.3 MB, free: 15.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002411/0.1444, allocations: 266.7 kB / 475.6 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1444, allocations: 33.7 kB / 475.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.1446, allocations: 176.5 kB / 475.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.513e-05/0.1446, allocations: 78.84 kB / 475.8 MB, free: 15.01 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.455e-05/0.1446, allocations: 4 kB / 475.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1448, allocations: 334.8 kB / 476.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.145, allocations: 112.4 kB / 476.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/0.1453, allocations: 115.9 kB / 476.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.1458, allocations: 242.2 kB / 476.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1458, allocations: 0 / 476.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001578/0.1474, allocations: 0.4989 MB / 477.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.1474, allocations: 4 kB / 477.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1474, allocations: 4 kB / 477.1 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.1485, allocations: 202.3 kB / 477.3 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005513/0.1491, allocations: 95.91 kB / 477.4 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004025/0.1531, allocations: 4.38 MB / 481.8 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.1533, allocations: 24 kB / 481.8 MB, free: 8.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.1534, allocations: 8 kB / 481.8 MB, free: 8.652 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 (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.1535, allocations: 141.9 kB / 482 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.1536, allocations: 31.56 kB / 482 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0013/0.1549, allocations: 0.5109 MB / 482.5 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.1549, allocations: 4 kB / 482.5 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1549, allocations: 0 / 482.5 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1549, allocations: 8.016 kB / 482.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.1566, allocations: 0.9256 MB / 483.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.1566, allocations: 128 / 483.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004736/0.1571, allocations: 95.92 kB / 483.6 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006438/0.1577, allocations: 150.5 kB / 483.7 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.1577, allocations: 4 kB / 483.7 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.1607, allocations: 4.089 MB / 487.8 MB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.1607, allocations: 7.938 kB / 487.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.1619, allocations: 0.5529 MB / 488.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.468e-05/0.162, allocations: 108.7 kB / 488.5 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.162, allocations: 7.938 kB / 488.5 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.1623, allocations: 31.98 kB / 488.5 MB, free: 1.535 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/0.1624, allocations: 27.95 kB / 488.5 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1624, allocations: 4 kB / 488.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.1626, allocations: 194 kB / 488.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1626, allocations: 0 / 488.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004769/0.1631, allocations: 95.84 kB / 488.8 MB, free: 1.223 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/0.1632, allocations: 120.3 kB / 488.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.1651, allocations: 0.6579 MB / 489.6 MB, free: 420 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1651, allocations: 0 / 489.6 MB, free: 420 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007996/0.1659, allocations: 465 kB / 490 MB, free: 15.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.1663, allocations: 48.81 kB / 490.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1674, allocations: 0.7496 MB / 490.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.1677, allocations: 0.7805 MB / 491.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.52e-05/0.1678, allocations: 34.91 kB / 491.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/0.1678, allocations: 23.44 kB / 491.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1679, allocations: 0 / 491.7 MB, free: 14.24 MB / 362.7 MB Notification: Performance of Templates: time 0.008169/0.176, allocations: 4.365 MB / 496 MB, free: 9.879 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Pumps_valve.sim & ./AES_AES.Coursework.ThermSys_component_models.Pumps_valve -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1)