Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Pumps_valve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 72.95 kB / 20.74 MB, free: 3.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 173 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9171/0.9171, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07288/0.07288, allocations: 18.14 MB / 279.2 MB, free: 11.2 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") translateModel(AES.Coursework.ThermSys_component_models.Pumps_valve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Pumps_valve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.215e-06/2.215e-06, allocations: 0.6562 kB / 304.5 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.667e-05, allocations: 4.562 kB / 304.5 MB, free: 0.6094 MB / 266.7 MB [/home/hudson/saved_omc/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. [/home/hudson/saved_omc/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.Pumps_valve): time 0.03133/0.03136, allocations: 32.22 MB / 336.7 MB, free: 2.117 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.03253, allocations: 470.2 kB / 337.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.03264, allocations: 4 kB / 337.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.026e-05/0.03271, allocations: 47.5 kB / 337.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.03289, allocations: 115 kB / 337.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.03317, allocations: 111.7 kB / 337.5 MB, free: 1.387 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.03348, allocations: 429.9 kB / 337.9 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.03374, allocations: 225.9 kB / 338.1 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.03388, allocations: 163.5 kB / 338.3 MB, free: 0.582 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.03405, allocations: 167.5 kB / 338.4 MB, free: 428 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.818e-05/0.03409, allocations: 36 kB / 338.5 MB, free: 392 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.961e-05/0.03418, allocations: 67.91 kB / 338.5 MB, free: 324 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003281/0.03451, allocations: 91.66 kB / 338.6 MB, free: 232 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.144e-05/0.03459, allocations: 135.7 kB / 338.8 MB, free: 96 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.03486, allocations: 322.8 kB / 339.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.03486, allocations: 0 / 339.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.03486, allocations: 0 / 339.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.03486, allocations: 0 / 339.1 MB, free: 15.78 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005678/0.03543, allocations: 0.5721 MB / 339.7 MB, free: 15.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.781e-05/0.03546, allocations: 12.92 kB / 339.7 MB, free: 15.17 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.03552, allocations: 48.89 kB / 339.7 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.03571, allocations: 196.7 kB / 339.9 MB, free: 14.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.03574, allocations: 21.03 kB / 339.9 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.03576, allocations: 28.38 kB / 340 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.03605, allocations: 292.4 kB / 340.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.03606, allocations: 192 / 340.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.03608, allocations: 8.375 kB / 340.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.03608, allocations: 8.375 kB / 340.3 MB, free: 14.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.03619, allocations: 84.48 kB / 340.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006911/0.03688, allocations: 488.8 kB / 340.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.03706, allocations: 126.5 kB / 340.9 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.832e-05/0.03715, allocations: 64.83 kB / 341 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.03718, allocations: 7.984 kB / 341 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.0372, allocations: 38.5 kB / 341 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001431/0.03734, allocations: 55.83 kB / 341.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 1.252e-06/0.03734, allocations: 0 / 341.1 MB, free: 13.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.001252/0.03859, allocations: 498.3 kB / 341.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.03862, allocations: 55.41 kB / 341.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.03875, allocations: 251 kB / 341.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.03877, allocations: 29.7 kB / 341.9 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.03884, allocations: 169.1 kB / 342.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.03888, allocations: 79.27 kB / 342.2 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.633e-05/0.03894, allocations: 49.91 kB / 342.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.03902, allocations: 342.8 kB / 342.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.03906, allocations: 28.44 kB / 342.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.29e-05/0.03911, allocations: 36.92 kB / 342.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.03921, allocations: 96.05 kB / 342.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.03922, allocations: 3.938 kB / 342.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000556/0.03977, allocations: 292.3 kB / 343 MB, free: 11.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.03979, allocations: 7.938 kB / 343 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.0398, allocations: 0 / 343 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006297/0.04043, allocations: 222.2 kB / 343.2 MB, free: 11.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.04066, allocations: 75.92 kB / 343.3 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.04296, allocations: 4.052 MB / 347.3 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.008e-05/0.04304, allocations: 8.062 kB / 347.3 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.04305, allocations: 11.98 kB / 347.4 MB, free: 7.055 MB / 314.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 9.022e-05/0.04314, allocations: 125.8 kB / 347.5 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.04318, allocations: 19.97 kB / 347.5 MB, free: 6.902 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/0.04364, allocations: 335.1 kB / 347.8 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.04364, allocations: 4.141 kB / 347.8 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.04364, allocations: 0 / 347.8 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.04365, allocations: 3.984 kB / 347.8 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/0.04427, allocations: 0.5383 MB / 348.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.04427, allocations: 0 / 348.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.04448, allocations: 75.94 kB / 348.4 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003841/0.04486, allocations: 182.3 kB / 348.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.04487, allocations: 4 kB / 348.6 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.04637, allocations: 3.858 MB / 352.5 MB, free: 1.633 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.04637, allocations: 7.938 kB / 352.5 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.04679, allocations: 383.4 kB / 352.9 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.379e-05/0.04682, allocations: 23.81 kB / 352.9 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.04684, allocations: 8 kB / 352.9 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.181e-05/0.04692, allocations: 15.94 kB / 352.9 MB, free: 1.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/0.04723, allocations: 31.88 kB / 352.9 MB, free: 1.148 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.04724, allocations: 15.94 kB / 353 MB, free: 1.133 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.001e-05/0.0473, allocations: 92.64 kB / 353.1 MB, free: 1.043 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.0473, allocations: 0 / 353.1 MB, free: 1.043 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003127/0.04761, allocations: 103.8 kB / 353.2 MB, free: 0.9414 MB / 314.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 (25): * Single equations (assignments): 21 * 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.0001125/0.04773, allocations: 92.39 kB / 353.2 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007257/0.04845, allocations: 0.5132 MB / 353.8 MB, free: 308 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.04846, allocations: 8 kB / 353.8 MB, free: 300 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003199/0.04878, allocations: 381.8 kB / 354.1 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.04897, allocations: 57.03 kB / 354.2 MB, free: 15.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.04979, allocations: 0.603 MB / 354.8 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.806e-05/0.04985, allocations: 105.7 kB / 354.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.517e-05/0.04992, allocations: 30.91 kB / 354.9 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.05003, allocations: 107.3 kB / 355 MB, free: 14.94 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.05003, allocations: 4 kB / 355 MB, free: 14.94 MB / 330.7 MB Notification: Performance of Templates: time 0.006841/0.05687, allocations: 5.466 MB / 360.5 MB, free: 9.551 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.Pumps_valve.makefile [Timeout 660] (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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Pumps_valve.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.865482037886977]