Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.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_004_LTI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI") translateModel(AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0762/0.0762, allocations: 17.68 MB / 33.63 MB, free: 1.785 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.001032/0.001032, allocations: 178.8 kB / 38.92 MB, free: 0 / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.4 MB / 249.5 MB, free: 2.418 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.0007851/0.0007851, allocations: 90.25 kB / 302.2 MB, free: 4.422 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004383, allocations: 12 kB / 366.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2357, allocations: 51.99 MB / 418.9 MB, free: 24.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09581/0.3315, allocations: 78.1 MB / 497 MB, free: 10.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.3318, allocations: 71.97 kB / 497.1 MB, free: 10.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008836/0.3407, allocations: 2.666 MB / 499.8 MB, free: 7.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3407, allocations: 0 / 499.8 MB, free: 7.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.3407, allocations: 8 kB / 499.8 MB, free: 7.422 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008102/0.3415, allocations: 470.8 kB / 0.4885 GB, free: 6.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3416, allocations: 8.031 kB / 0.4885 GB, free: 6.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.3416, allocations: 16.75 kB / 0.4885 GB, free: 6.887 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.3422, allocations: 284.7 kB / 0.4888 GB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3422, allocations: 4.312 kB / 0.4888 GB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.3422, allocations: 12.38 kB / 0.4888 GB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.3424, allocations: 96.53 kB / 0.4889 GB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3425, allocations: 192 / 0.4889 GB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.3425, allocations: 3.938 kB / 0.4889 GB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.3425, allocations: 4 kB / 0.4889 GB, free: 6.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.3427, allocations: 87.94 kB / 0.489 GB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.3432, allocations: 396.5 kB / 0.4894 GB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003672/0.3436, allocations: 154.7 kB / 0.4895 GB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.3437, allocations: 60.69 kB / 0.4896 GB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.3437, allocations: 0 / 0.4896 GB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.3438, allocations: 30.56 kB / 0.4896 GB, free: 5.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.3438, allocations: 0 / 0.4896 GB, free: 5.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.002122/0.3459, allocations: 475 kB / 0.4901 GB, free: 5.168 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.346, allocations: 55.41 kB / 0.4901 GB, free: 5.102 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.3464, allocations: 236.2 kB / 0.4904 GB, free: 4.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3464, allocations: 25.7 kB / 0.4904 GB, free: 4.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.3465, allocations: 112 kB / 0.4905 GB, free: 4.715 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.3466, allocations: 31.69 kB / 0.4905 GB, free: 4.684 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/0.3466, allocations: 7.875 kB / 0.4905 GB, free: 4.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3467, allocations: 330.8 kB / 0.4908 GB, free: 4.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.436e-05/0.3468, allocations: 35.97 kB / 0.4909 GB, free: 4.309 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-05/0.3468, allocations: 31.98 kB / 0.4909 GB, free: 4.277 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3481, allocations: 288.6 kB / 0.4912 GB, free: 3.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3481, allocations: 0 / 0.4912 GB, free: 3.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0008364/0.3489, allocations: 250 kB / 0.4914 GB, free: 3.738 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.349, allocations: 8 kB / 0.4914 GB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.349, allocations: 0 / 0.4914 GB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007584/0.3497, allocations: 116.8 kB / 0.4915 GB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.031e-05/0.3498, allocations: 15.94 kB / 0.4915 GB, free: 3.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.3531, allocations: 1.751 MB / 0.4933 GB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.3533, allocations: 27.98 kB / 0.4933 GB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.3533, allocations: 0 / 0.4933 GB, free: 1.684 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: A.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (8): * Single equations (assignments): 7 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001517/0.3535, allocations: 145.9 kB / 0.4934 GB, free: 1.531 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.3535, allocations: 11.81 kB / 0.4934 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000784/0.3543, allocations: 275.6 kB / 0.4937 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.3544, allocations: 0 / 0.4937 GB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.3544, allocations: 3.938 kB / 0.4937 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3544, allocations: 0 / 0.4937 GB, free: 1.242 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.3546, allocations: 233.5 kB / 0.4939 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3546, allocations: 0 / 0.4939 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.778e-05/0.3547, allocations: 12.17 kB / 0.4939 GB, free: 0.9531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005439/0.3553, allocations: 120.8 kB / 0.4941 GB, free: 0.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.3553, allocations: 7.984 kB / 0.4941 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1888/0.5441, allocations: 1.666 MB / 0.4957 GB, free: 82.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5442, allocations: 3.375 kB / 0.4957 GB, free: 82.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009799/0.5451, allocations: 397.6 kB / 0.4961 GB, free: 82.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.801e-05/0.5452, allocations: 93.81 kB / 0.4962 GB, free: 82.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.5453, allocations: 7.891 kB / 0.4962 GB, free: 82.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/0.5455, allocations: 24.11 kB / 0.4962 GB, free: 82.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.5456, allocations: 15.83 kB / 0.4962 GB, free: 82.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.5456, allocations: 7.75 kB / 0.4962 GB, free: 82.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004141/0.546, allocations: 185.5 kB / 0.4964 GB, free: 82.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.546, allocations: 0 / 0.4964 GB, free: 82.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.5464, allocations: 36.39 kB / 0.4964 GB, free: 82.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (A.x_scaled[1],C.x_scaled[1]) * 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 (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001601/0.5466, allocations: 113.5 kB / 0.4965 GB, free: 82.19 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005756/0.5472, allocations: 242.3 kB / 0.4968 GB, free: 82.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5472, allocations: 0 / 0.4968 GB, free: 82.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002301/0.5474, allocations: 187.9 kB / 0.4969 GB, free: 81.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.5478, allocations: 25.14 kB / 0.497 GB, free: 81.97 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006132/0.5484, allocations: 347.6 kB / 0.4973 GB, free: 81.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.5486, allocations: 0.7243 MB / 0.498 GB, free: 81.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.424e-05/0.5487, allocations: 22.97 kB / 0.498 GB, free: 81.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.5487, allocations: 17.52 kB / 0.498 GB, free: 81.05 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5487, allocations: 0 / 0.498 GB, free: 81.05 MB / 362.7 MB Notification: Performance of Templates: time 0.006844/0.5556, allocations: 2.26 MB / 0.5003 GB, free: 80.98 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.sim & ./AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Valve_linearisation_case_004_LTI.pipe 2>&1)