Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003") translateModel(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.07151/0.07151, allocations: 17.69 MB / 33.63 MB, free: 1.75 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 180.2 kB / 38.92 MB, free: 8 kB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 249.5 MB, free: 2.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008619/0.0008617, allocations: 97.42 kB / 302.2 MB, free: 4.414 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006451/0.0006452, allocations: 19.94 kB / 367 MB, free: 3.602 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2964/0.297, allocations: 51.97 MB / 418.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4147, allocations: 80.51 MB / 499.4 MB, free: 7.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.415, allocations: 75.97 kB / 499.5 MB, free: 7.676 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.258/0.673, allocations: 9.449 MB / 0.497 GB, free: 80.08 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6731, allocations: 0 / 0.497 GB, free: 80.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.46e-05/0.6731, allocations: 12.12 kB / 0.497 GB, free: 80.08 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001839/0.6749, allocations: 0.8625 MB / 0.4979 GB, free: 79.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.675, allocations: 11.38 kB / 0.4979 GB, free: 79.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.6751, allocations: 67.12 kB / 0.498 GB, free: 79.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000689/0.6758, allocations: 455.1 kB / 0.4984 GB, free: 79.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.6759, allocations: 43.88 kB / 0.4984 GB, free: 79.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.676, allocations: 58.7 kB / 0.4985 GB, free: 79.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.6774, allocations: 0.7255 MB / 0.4992 GB, free: 79.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.6774, allocations: 3.562 kB / 0.4992 GB, free: 79.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-05/0.6775, allocations: 25.59 kB / 0.4992 GB, free: 79.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.6775, allocations: 13.25 kB / 0.4992 GB, free: 79.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.679, allocations: 0.7881 MB / 0.5 GB, free: 79.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004302/0.6833, allocations: 2.303 MB / 0.5023 GB, free: 78.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.6843, allocations: 0.6239 MB / 0.5029 GB, free: 77.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007062/0.685, allocations: 406.1 kB / 0.5033 GB, free: 77.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.6852, allocations: 106 kB / 0.5034 GB, free: 77.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.6852, allocations: 41.81 kB / 0.5034 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008121/0.686, allocations: 201.9 kB / 0.5036 GB, free: 77.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.365e-06/0.6861, allocations: 0 / 0.5036 GB, free: 77.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.009584/0.6956, allocations: 2.493 MB / 0.506 GB, free: 76.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.6957, allocations: 58.44 kB / 0.5061 GB, free: 76.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.6961, allocations: 433.4 kB / 0.5065 GB, free: 76.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.605e-05/0.6962, allocations: 39.36 kB / 0.5065 GB, free: 76.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.6963, allocations: 262.2 kB / 0.5068 GB, free: 76.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.6964, allocations: 229.4 kB / 0.507 GB, free: 76.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.6965, allocations: 15.66 kB / 0.507 GB, free: 76.07 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.6966, allocations: 367.2 kB / 0.5074 GB, free: 75.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.6971, allocations: 332.2 kB / 0.5077 GB, free: 75.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/0.6977, allocations: 455.2 kB / 0.5081 GB, free: 75.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.6989, allocations: 0.7929 MB / 0.5089 GB, free: 74.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.6989, allocations: 4 kB / 0.5089 GB, free: 74.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.005612/0.7045, allocations: 1.64 MB / 0.5105 GB, free: 74.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.7045, allocations: 3.875 kB / 0.5105 GB, free: 74.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.7046, allocations: 3.812 kB / 0.5105 GB, free: 74.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006135/0.7107, allocations: 0.9306 MB / 0.5114 GB, free: 74.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/0.7121, allocations: 286.9 kB / 0.5117 GB, free: 74.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004747/0.7169, allocations: 3.834 MB / 0.5154 GB, free: 70.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/0.7178, allocations: 32.12 kB / 0.5155 GB, free: 70.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.7179, allocations: 39.91 kB / 0.5155 GB, free: 70.12 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (74): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 8} * Non-linear torn systems: 2 {1 6,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004446/0.7184, allocations: 197.6 kB / 0.5157 GB, free: 69.92 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.7185, allocations: 59.27 kB / 0.5157 GB, free: 69.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004051/0.7226, allocations: 1.402 MB / 0.5171 GB, free: 68.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.7226, allocations: 8 kB / 0.5171 GB, free: 68.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.7226, allocations: 4 kB / 0.5171 GB, free: 68.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.7226, allocations: 6.422 kB / 0.5171 GB, free: 68.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004949/0.7276, allocations: 2.108 MB / 0.5192 GB, free: 66.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.7276, allocations: 7.984 kB / 0.5192 GB, free: 66.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.7288, allocations: 259.7 kB / 0.5194 GB, free: 66.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00418/0.733, allocations: 0.6641 MB / 0.5201 GB, free: 65.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.7331, allocations: 23.98 kB / 0.5201 GB, free: 65.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002937/0.7361, allocations: 3.198 MB / 0.5232 GB, free: 61.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7361, allocations: 4 kB / 0.5232 GB, free: 61.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004347/0.7405, allocations: 1.663 MB / 0.5249 GB, free: 60.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.7408, allocations: 144.3 kB / 0.525 GB, free: 60.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.7409, allocations: 20.11 kB / 0.525 GB, free: 60.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004924/0.7414, allocations: 27.91 kB / 0.525 GB, free: 60.05 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.7415, allocations: 60.91 kB / 0.5251 GB, free: 60 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.005e-05/0.7416, allocations: 24 kB / 0.5251 GB, free: 59.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000349/0.742, allocations: 311.1 kB / 0.5254 GB, free: 59.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.742, allocations: 0 / 0.5254 GB, free: 59.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008616/0.7428, allocations: 223.8 kB / 0.5256 GB, free: 59.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (streamNL.T[1],streamNL.T[2],streamNL.T[3],streamNL.T[4],streamNL.T[5],streamLIN.T[1],streamLIN.T[2],streamLIN.T[3],streamLIN.T[4],streamLIN.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 (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 8} * Non-linear torn systems: 2 {1 6,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002213/0.7431, allocations: 139 kB / 0.5258 GB, free: 59.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.7451, allocations: 1.046 MB / 0.5268 GB, free: 58.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7451, allocations: 0 / 0.5268 GB, free: 58.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.7461, allocations: 0.6089 MB / 0.5274 GB, free: 57.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000635/0.7468, allocations: 134.3 kB / 0.5275 GB, free: 57.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.7501, allocations: 2.281 MB / 0.5297 GB, free: 55.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.7504, allocations: 0.9155 MB / 0.5306 GB, free: 54.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005205/0.751, allocations: 145 kB / 0.5308 GB, free: 54.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000175/0.7511, allocations: 59.41 kB / 0.5308 GB, free: 54.06 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.7511, allocations: 0 / 0.5308 GB, free: 54.06 MB / 362.7 MB Notification: Performance of Templates: time 0.01675/0.7679, allocations: 10.55 MB / 0.5411 GB, free: 43.52 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003.sim & ./AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_003.pipe 2>&1)