Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002") translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001505, allocations: 116.2 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1006/0.1006, allocations: 22.33 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 437.7 MB, free: 11.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09124, allocations: 54.95 MB / 492.7 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002): time 0.004081/0.09535, allocations: 3.564 MB / 496.3 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.09707, allocations: 1.08 MB / 497.3 MB, free: 64 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001561/0.09724, allocations: 4 kB / 497.3 MB, free: 60 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.09747, allocations: 79.27 kB / 497.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.09794, allocations: 230.3 kB / 497.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005598/0.09851, allocations: 235.5 kB / 497.9 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000793/0.09932, allocations: 0.9159 MB / 498.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006935/0.1, allocations: 0.6073 MB / 499.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.1004, allocations: 430.7 kB / 499.8 MB, free: 13.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006984/0.1012, allocations: 0.6036 MB / 0.4887 GB, free: 12.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.1013, allocations: 100 kB / 0.4888 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.1015, allocations: 128 kB / 0.4889 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.1018, allocations: 279.2 kB / 0.4892 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.1022, allocations: 462 kB / 0.4896 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008802/0.1031, allocations: 1.079 MB / 0.4907 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1031, allocations: 3.938 kB / 0.4907 GB, free: 10.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1031, allocations: 4 kB / 0.4907 GB, free: 10.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.1031, allocations: 0 / 0.4907 GB, free: 10.92 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002632/0.1058, allocations: 1.169 MB / 0.4918 GB, free: 9.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1058, allocations: 12.03 kB / 0.4918 GB, free: 9.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.106, allocations: 76 kB / 0.4919 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006743/0.1067, allocations: 490.9 kB / 0.4924 GB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.973e-05/0.1067, allocations: 45.69 kB / 0.4924 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.1068, allocations: 56.38 kB / 0.4925 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.1082, allocations: 0.7601 MB / 0.4932 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1082, allocations: 4 kB / 0.4932 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.202e-05/0.1083, allocations: 24 kB / 0.4932 GB, free: 8.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1083, allocations: 12 kB / 0.4933 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.1098, allocations: 0.8211 MB / 0.4941 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004177/0.114, allocations: 2.09 MB / 0.4961 GB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.1151, allocations: 0.6693 MB / 0.4968 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006808/0.1158, allocations: 410.4 kB / 0.4971 GB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.1159, allocations: 12.55 kB / 0.4972 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1159, allocations: 47.11 kB / 0.4972 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006176/0.1165, allocations: 167.3 kB / 0.4974 GB, free: 3.914 MB / 382.1 MB Notification: Performance of pre-optimization done (n=68): time 2.925e-06/0.1166, allocations: 0 / 0.4974 GB, free: 3.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=68): time 0.0105/0.1271, allocations: 2.557 MB / 0.4999 GB, free: 1.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.1271, allocations: 59.97 kB / 0.4999 GB, free: 1.215 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.1276, allocations: 490 kB / 0.5004 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/0.1277, allocations: 37.7 kB / 0.5004 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.1279, allocations: 296.5 kB / 0.5007 GB, free: 400 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.1281, allocations: 248.4 kB / 0.5009 GB, free: 148 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.1833/0.3114, allocations: 162.5 kB / 0.5011 GB, free: 21.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3115, allocations: 379.8 kB / 0.5015 GB, free: 21.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/0.3122, allocations: 361.4 kB / 0.5018 GB, free: 21.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.3128, allocations: 496.9 kB / 0.5023 GB, free: 21.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.3141, allocations: 0.8755 MB / 0.5031 GB, free: 21.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3141, allocations: 0 / 0.5031 GB, free: 21.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.005706/0.3198, allocations: 1.657 MB / 0.5047 GB, free: 21.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3198, allocations: 7.016 kB / 0.5048 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3199, allocations: 2.969 kB / 0.5048 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004332/0.3242, allocations: 0.7197 MB / 0.5055 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.3256, allocations: 248.6 kB / 0.5057 GB, free: 21.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/0.3311, allocations: 4.15 MB / 0.5097 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/0.3319, allocations: 32.2 kB / 0.5098 GB, free: 18.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.909e-05/0.332, allocations: 48.84 kB / 0.5098 GB, free: 18.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,8,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003075/0.3323, allocations: 204.9 kB / 0.51 GB, free: 18.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.3324, allocations: 62.08 kB / 0.5101 GB, free: 18.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.3362, allocations: 1.414 MB / 0.5115 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.3362, allocations: 4.547 kB / 0.5115 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.237e-06/0.3363, allocations: 0 / 0.5115 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001167/0.3364, allocations: 145.7 kB / 0.5116 GB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.3365, allocations: 28.91 kB / 0.5116 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000532/0.337, allocations: 27.28 kB / 0.5117 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001979/0.3372, allocations: 82.36 kB / 0.5117 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004509/0.3418, allocations: 1.454 MB / 0.5132 GB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002235/0.344, allocations: 1.488 MB / 0.5146 GB, free: 17.73 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006179/0.3446, allocations: 395.1 kB / 0.515 GB, free: 17.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003869/0.345, allocations: 352.9 kB / 0.5153 GB, free: 17.63 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.345, allocations: 0 / 0.5153 GB, free: 17.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002456/0.3475, allocations: 0.9441 MB / 0.5162 GB, free: 17.39 MB / 382.1 MB Notification: Performance of SimCode: time 0.002483/0.35, allocations: 2.312 MB / 0.5185 GB, free: 15.98 MB / 382.1 MB Notification: Performance of Templates: time 0.01938/0.3694, allocations: 13.62 MB / 0.5318 GB, free: 10.8 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002.sim & ./AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_002.pipe 2>&1)