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.001015/0.001015, allocations: 77.09 kB / 20.67 MB, free: 3.832 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.0009867/0.0009867, allocations: 177 kB / 24.08 MB, free: 436 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.966/0.966, allocations: 177.1 MB / 204.5 MB, free: 5.184 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.06995/0.06995, allocations: 18.13 MB / 279.2 MB, free: 11.07 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 1.643e-06/1.643e-06, allocations: 0 / 357.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.291e-05/2.456e-05, allocations: 4.422 kB / 357.8 MB, free: 8.605 MB / 330.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.02076/0.02079, allocations: 26.44 MB / 384.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008916/0.02168, allocations: 446.7 kB / 384.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.02178, allocations: 4 kB / 384.6 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.315e-05/0.02186, allocations: 43.5 kB / 384.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.02206, allocations: 118.9 kB / 384.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.02234, allocations: 119.7 kB / 384.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.02263, allocations: 418 kB / 385.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.02288, allocations: 231.1 kB / 385.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.02303, allocations: 159.6 kB / 385.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.0232, allocations: 159.5 kB / 385.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.02325, allocations: 40 kB / 385.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.02335, allocations: 63.95 kB / 386 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.0234, allocations: 91.66 kB / 386.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.02349, allocations: 143.5 kB / 386.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002893/0.02378, allocations: 314.9 kB / 386.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.02378, allocations: 0 / 386.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.02379, allocations: 3.938 kB / 386.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.02379, allocations: 0 / 386.5 MB, free: 12.02 MB / 362.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.0006829/0.02447, allocations: 0.6983 MB / 387.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.02451, allocations: 8.922 kB / 387.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.02457, allocations: 64.64 kB / 387.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.02478, allocations: 239.4 kB / 387.5 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.0248, allocations: 17.03 kB / 387.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.58e-05/0.02484, allocations: 28.38 kB / 387.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.02512, allocations: 292.3 kB / 387.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.02513, allocations: 192 / 387.8 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.02514, allocations: 12.38 kB / 387.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.02515, allocations: 8.375 kB / 387.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.02527, allocations: 96.44 kB / 388 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007729/0.02604, allocations: 0.6445 MB / 388.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.02625, allocations: 167 kB / 388.8 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.02635, allocations: 70.48 kB / 388.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.02638, allocations: 4 kB / 388.8 MB, free: 9.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.0264, allocations: 49.31 kB / 388.9 MB, free: 9.48 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001452/0.02655, allocations: 51.88 kB / 388.9 MB, free: 9.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.362e-06/0.02655, allocations: 4 kB / 388.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.001381/0.02793, allocations: 0.5465 MB / 389.5 MB, free: 8.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.02795, allocations: 51.41 kB / 389.5 MB, free: 8.797 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.02812, allocations: 298.2 kB / 389.8 MB, free: 8.492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.02814, allocations: 25.7 kB / 389.9 MB, free: 8.461 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.02828, allocations: 243.3 kB / 390.1 MB, free: 8.219 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.02832, allocations: 79.33 kB / 390.2 MB, free: 8.141 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/0.02838, allocations: 59.48 kB / 390.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.02852, allocations: 0.5117 MB / 390.7 MB, free: 7.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-05/0.02857, allocations: 36.44 kB / 390.8 MB, free: 7.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/0.02863, allocations: 36.91 kB / 390.8 MB, free: 7.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.02876, allocations: 122.8 kB / 390.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.02876, allocations: 0 / 390.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007224/0.02949, allocations: 357 kB / 391.3 MB, free: 6.992 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.0295, allocations: 7.938 kB / 391.3 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.0295, allocations: 0 / 391.3 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.03019, allocations: 238.7 kB / 391.5 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.03044, allocations: 75.94 kB / 391.6 MB, free: 6.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00325/0.03369, allocations: 5.991 MB / 397.6 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.03378, allocations: 12 kB / 397.6 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.03379, allocations: 7.984 kB / 397.6 MB, free: 356 kB / 362.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.0001003/0.03389, allocations: 168.5 kB / 397.8 MB, free: 176 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.03393, allocations: 43.75 kB / 397.8 MB, free: 132 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005236/0.03446, allocations: 382.8 kB / 398.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.03446, allocations: 4 kB / 398.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.03446, allocations: 144 / 398.2 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.03447, allocations: 7.969 kB / 398.2 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007511/0.03522, allocations: 0.685 MB / 398.9 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.03522, allocations: 0 / 398.9 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.03545, allocations: 79.94 kB / 399 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.03588, allocations: 186.8 kB / 399.1 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.03589, allocations: 16 kB / 399.2 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.0384, allocations: 5.747 MB / 404.9 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.0384, allocations: 0 / 404.9 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.03893, allocations: 499.9 kB / 405.4 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.03896, allocations: 35.89 kB / 405.4 MB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.03898, allocations: 15.92 kB / 405.4 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.03907, allocations: 15.92 kB / 405.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.963e-05/0.03913, allocations: 27.95 kB / 405.5 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.03914, allocations: 8 kB / 405.5 MB, free: 8.047 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.242e-05/0.03924, allocations: 206.9 kB / 405.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03924, allocations: 0 / 405.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.03958, allocations: 103.8 kB / 405.8 MB, free: 7.746 MB / 378.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.0001418/0.03972, allocations: 115.2 kB / 405.9 MB, free: 7.621 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008552/0.04057, allocations: 0.6427 MB / 406.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.04058, allocations: 0 / 406.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003823/0.04096, allocations: 0.4913 MB / 407 MB, free: 6.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.04121, allocations: 57.02 kB / 407.1 MB, free: 6.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008877/0.0421, allocations: 0.6045 MB / 407.7 MB, free: 5.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.4e-05/0.04216, allocations: 105.7 kB / 407.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.577e-05/0.04223, allocations: 26.98 kB / 407.8 MB, free: 5.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.04236, allocations: 134.2 kB / 408 MB, free: 5.434 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.04236, allocations: 0 / 408 MB, free: 5.434 MB / 378.7 MB Notification: Performance of Templates: time 0.007231/0.04959, allocations: 5.596 MB / 413.6 MB, free: 15.93 MB / 394.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: 3.109320592135191]