Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001") translateModel(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1064/0.1064, allocations: 17.68 MB / 33.63 MB, free: 1.746 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.001449/0.001449, allocations: 173.5 kB / 38.91 MB, free: 12 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.465/1.465, allocations: 205.4 MB / 249.5 MB, free: 2.359 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.000762/0.0007621, allocations: 93.42 kB / 302.2 MB, free: 4.418 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 12 kB / 366.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2509, allocations: 51.99 MB / 418.9 MB, free: 24.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09923/0.3502, allocations: 80.19 MB / 499.1 MB, free: 8.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.3504, allocations: 79.95 kB / 499.2 MB, free: 7.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2375/0.5879, allocations: 7.988 MB / 0.4953 GB, free: 80.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.588, allocations: 0.5625 kB / 0.4953 GB, free: 80.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.584e-05/0.588, allocations: 8.656 kB / 0.4953 GB, free: 80.36 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.002016/0.5901, allocations: 0.7693 MB / 0.4961 GB, free: 79.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.5901, allocations: 9.344 kB / 0.4961 GB, free: 79.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.5903, allocations: 55.19 kB / 0.4961 GB, free: 79.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000729/0.591, allocations: 393.6 kB / 0.4965 GB, free: 79.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.5911, allocations: 31.34 kB / 0.4965 GB, free: 79.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.5912, allocations: 42.78 kB / 0.4966 GB, free: 79.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.5924, allocations: 0.5149 MB / 0.4971 GB, free: 79.63 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.5924, allocations: 3.422 kB / 0.4971 GB, free: 79.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.429e-05/0.5925, allocations: 24.12 kB / 0.4971 GB, free: 79.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.5925, allocations: 10.25 kB / 0.4971 GB, free: 79.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009965/0.5935, allocations: 0.5054 MB / 0.4976 GB, free: 79.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.5966, allocations: 1.452 MB / 0.499 GB, free: 79.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009055/0.5975, allocations: 486.1 kB / 0.4995 GB, free: 79.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004757/0.598, allocations: 259.6 kB / 0.4997 GB, free: 79.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001829/0.5982, allocations: 93.92 kB / 0.4998 GB, free: 79.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.5982, allocations: 37.7 kB / 0.4999 GB, free: 79.04 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003666/0.5986, allocations: 76.66 kB / 0.4999 GB, free: 79.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 2.745e-06/0.5986, allocations: 0 / 0.4999 GB, free: 79.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.003904/0.6025, allocations: 1.159 MB / 0.5011 GB, free: 78.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.6025, allocations: 64.33 kB / 0.5011 GB, free: 78.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.603, allocations: 371.6 kB / 0.5015 GB, free: 78.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.603, allocations: 35.45 kB / 0.5015 GB, free: 78.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.6032, allocations: 237.6 kB / 0.5017 GB, free: 78.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.6033, allocations: 172.8 kB / 0.5019 GB, free: 77.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.6033, allocations: 11.72 kB / 0.5019 GB, free: 77.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6034, allocations: 362 kB / 0.5023 GB, free: 77.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004879/0.6039, allocations: 248.1 kB / 0.5025 GB, free: 77.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.6045, allocations: 348.9 kB / 0.5028 GB, free: 77.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.6055, allocations: 0.5973 MB / 0.5034 GB, free: 76.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.6055, allocations: 1.094 kB / 0.5034 GB, free: 76.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.003209/0.6087, allocations: 0.9389 MB / 0.5043 GB, free: 76.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/0.6088, allocations: 9.344 kB / 0.5043 GB, free: 76.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.6088, allocations: 3 kB / 0.5043 GB, free: 76.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003182/0.612, allocations: 337.7 kB / 0.5047 GB, free: 76.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/0.6132, allocations: 281.8 kB / 0.5049 GB, free: 76.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000689/0.6139, allocations: 1.153 MB / 0.5061 GB, free: 75.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006003/0.6145, allocations: 31.83 kB / 0.5061 GB, free: 75.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.302e-05/0.6146, allocations: 25.03 kB / 0.5061 GB, free: 75.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003043/0.6149, allocations: 176.7 kB / 0.5063 GB, free: 75.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.6151, allocations: 47.53 kB / 0.5063 GB, free: 75.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.6179, allocations: 0.9116 MB / 0.5072 GB, free: 74.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.6179, allocations: 8.906 kB / 0.5072 GB, free: 74.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6179, allocations: 4 kB / 0.5072 GB, free: 74.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.6179, allocations: 0 / 0.5072 GB, free: 74.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003973/0.6219, allocations: 1.547 MB / 0.5087 GB, free: 74.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.6219, allocations: 3.891 kB / 0.5087 GB, free: 74.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.623, allocations: 257.2 kB / 0.509 GB, free: 74.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/0.6259, allocations: 335.4 kB / 0.5093 GB, free: 74.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.626, allocations: 18.7 kB / 0.5093 GB, free: 74.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000599/0.6266, allocations: 1.152 MB / 0.5105 GB, free: 73.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.6266, allocations: 3.562 kB / 0.5105 GB, free: 73.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.6295, allocations: 1.147 MB / 0.5116 GB, free: 72.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.6298, allocations: 119.9 kB / 0.5117 GB, free: 72.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.6299, allocations: 24.56 kB / 0.5117 GB, free: 72.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004195/0.6304, allocations: 26.8 kB / 0.5117 GB, free: 72.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.6305, allocations: 36.86 kB / 0.5118 GB, free: 72.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/0.6305, allocations: 22.72 kB / 0.5118 GB, free: 72.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003165/0.6309, allocations: 261.8 kB / 0.512 GB, free: 72.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6309, allocations: 4 kB / 0.512 GB, free: 72.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006987/0.6316, allocations: 162 kB / 0.5122 GB, free: 72.19 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 (54): * Single equations (assignments): 52 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.6318, allocations: 130.2 kB / 0.5123 GB, free: 72.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.6332, allocations: 0.6043 MB / 0.5129 GB, free: 71.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6332, allocations: 4.188 kB / 0.5129 GB, free: 71.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006276/0.6339, allocations: 321.3 kB / 0.5132 GB, free: 71.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006228/0.6345, allocations: 107.8 kB / 0.5133 GB, free: 71.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.6376, allocations: 2.005 MB / 0.5153 GB, free: 69.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.6379, allocations: 0.8624 MB / 0.5161 GB, free: 68.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005005/0.6384, allocations: 134.9 kB / 0.5163 GB, free: 68.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.6386, allocations: 54.28 kB / 0.5163 GB, free: 68.64 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6386, allocations: 0 / 0.5163 GB, free: 68.64 MB / 362.7 MB Notification: Performance of Templates: time 0.01222/0.6508, allocations: 7.176 MB / 0.5233 GB, free: 61.73 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_001.pipe 2>&1)