Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002") translateModel(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08453/0.08453, allocations: 17.69 MB / 33.63 MB, free: 1.789 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.0009426/0.0009427, allocations: 178.5 kB / 38.91 MB, free: 16 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.64/1.64, allocations: 205.4 MB / 249.5 MB, free: 2.363 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.0007853/0.0007853, allocations: 98.23 kB / 302.2 MB, free: 4.414 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006756/0.0006758, allocations: 12 kB / 366.9 MB, free: 3.617 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2941, allocations: 51.99 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.4055, allocations: 80.59 MB / 499.5 MB, free: 7.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.4058, allocations: 79.95 kB / 499.6 MB, free: 7.602 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2631/0.6689, allocations: 9.669 MB / 0.4973 GB, free: 80.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.669, allocations: 0 / 0.4973 GB, free: 80.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.62e-05/0.669, allocations: 12.03 kB / 0.4973 GB, free: 80.15 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.002623/0.6717, allocations: 0.8721 MB / 0.4982 GB, free: 79.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6717, allocations: 9.625 kB / 0.4982 GB, free: 79.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.6721, allocations: 77.28 kB / 0.4983 GB, free: 79.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009684/0.6731, allocations: 461.9 kB / 0.4987 GB, free: 79.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.6732, allocations: 41.06 kB / 0.4988 GB, free: 79.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002099/0.6734, allocations: 55 kB / 0.4988 GB, free: 79.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.6752, allocations: 0.7319 MB / 0.4995 GB, free: 79.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.6752, allocations: 1.406 kB / 0.4995 GB, free: 79.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.937e-05/0.6753, allocations: 23.88 kB / 0.4995 GB, free: 79.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.6753, allocations: 13.34 kB / 0.4996 GB, free: 79.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/0.6769, allocations: 0.7993 MB / 0.5003 GB, free: 79.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003961/0.6809, allocations: 1.904 MB / 0.5022 GB, free: 78.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.6819, allocations: 0.6754 MB / 0.5029 GB, free: 78.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008013/0.6828, allocations: 448.5 kB / 0.5033 GB, free: 78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001903/0.683, allocations: 101.9 kB / 0.5034 GB, free: 77.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.683, allocations: 42.72 kB / 0.5034 GB, free: 77.86 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000887/0.6839, allocations: 210.1 kB / 0.5036 GB, free: 77.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 3.216e-06/0.6839, allocations: 0 / 0.5036 GB, free: 77.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=68): time 0.009222/0.6931, allocations: 2.469 MB / 0.506 GB, free: 76.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.6932, allocations: 59.19 kB / 0.5061 GB, free: 76.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.6937, allocations: 426.4 kB / 0.5065 GB, free: 76.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.752e-05/0.6938, allocations: 37.02 kB / 0.5065 GB, free: 76.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.6939, allocations: 258.6 kB / 0.5068 GB, free: 76.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.6941, allocations: 249.3 kB / 0.507 GB, free: 76.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.6942, allocations: 19.66 kB / 0.507 GB, free: 76.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6943, allocations: 367.6 kB / 0.5074 GB, free: 75.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.6948, allocations: 351.5 kB / 0.5077 GB, free: 75.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005979/0.6955, allocations: 475.2 kB / 0.5082 GB, free: 75.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.6967, allocations: 0.8389 MB / 0.509 GB, free: 75.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6967, allocations: 0 / 0.509 GB, free: 75.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.005967/0.7027, allocations: 1.699 MB / 0.5107 GB, free: 74.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.7028, allocations: 7.438 kB / 0.5107 GB, free: 74.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.7028, allocations: 0 / 0.5107 GB, free: 74.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00551/0.7083, allocations: 0.8477 MB / 0.5115 GB, free: 74.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.7097, allocations: 297.7 kB / 0.5118 GB, free: 74.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004558/0.7142, allocations: 3.866 MB / 0.5156 GB, free: 70.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008281/0.7151, allocations: 35.92 kB / 0.5156 GB, free: 70.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.787e-05/0.7152, allocations: 35.97 kB / 0.5156 GB, free: 70.05 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 (76): * Single equations (assignments): 73 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003583/0.7155, allocations: 205.6 kB / 0.5158 GB, free: 69.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.81e-05/0.7156, allocations: 55.34 kB / 0.5159 GB, free: 69.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/0.7197, allocations: 1.479 MB / 0.5173 GB, free: 68.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.7197, allocations: 12 kB / 0.5173 GB, free: 68.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7197, allocations: 4 kB / 0.5173 GB, free: 68.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.7198, allocations: 3.984 kB / 0.5173 GB, free: 68.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004656/0.7244, allocations: 2.217 MB / 0.5195 GB, free: 66.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7244, allocations: 0 / 0.5195 GB, free: 66.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.7256, allocations: 279.7 kB / 0.5198 GB, free: 65.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003879/0.7295, allocations: 0.602 MB / 0.5204 GB, free: 65.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-05/0.7296, allocations: 23.98 kB / 0.5204 GB, free: 65.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002888/0.7325, allocations: 3.238 MB / 0.5235 GB, free: 61.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7325, allocations: 0.6562 kB / 0.5235 GB, free: 61.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004162/0.7367, allocations: 1.778 MB / 0.5253 GB, free: 59.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/0.7369, allocations: 136.3 kB / 0.5254 GB, free: 59.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/0.737, allocations: 27.94 kB / 0.5254 GB, free: 59.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.7375, allocations: 27.91 kB / 0.5255 GB, free: 59.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.7376, allocations: 61.09 kB / 0.5255 GB, free: 59.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/0.7377, allocations: 27.98 kB / 0.5255 GB, free: 59.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003051/0.738, allocations: 299.1 kB / 0.5258 GB, free: 59.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.738, allocations: 0 / 0.5258 GB, free: 59.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008311/0.7388, allocations: 227.8 kB / 0.526 GB, free: 59.09 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 (65): * Single equations (assignments): 62 * 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 7,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002114/0.7391, allocations: 143.1 kB / 0.5262 GB, free: 58.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001963/0.741, allocations: 1.081 MB / 0.5272 GB, free: 57.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.7411, allocations: 0 / 0.5272 GB, free: 57.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009714/0.742, allocations: 0.6491 MB / 0.5279 GB, free: 57.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006866/0.7427, allocations: 122.1 kB / 0.528 GB, free: 57.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.7459, allocations: 2.34 MB / 0.5303 GB, free: 54.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.7461, allocations: 0.9195 MB / 0.5312 GB, free: 53.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004768/0.7466, allocations: 153 kB / 0.5313 GB, free: 53.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.7468, allocations: 55.42 kB / 0.5314 GB, free: 53.56 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.7468, allocations: 0 / 0.5314 GB, free: 53.56 MB / 362.7 MB Notification: Performance of Templates: time 0.0147/0.7615, allocations: 10.86 MB / 0.542 GB, free: 42.72 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.sim & ./AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_002.pipe 2>&1)