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_001.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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001") translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 106.6 kB / 16.4 MB, free: 6.387 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.0009956/0.0009956, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09561/0.09561, allocations: 22.33 MB / 313.5 MB, free: 8.891 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.91 kB / 437.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09029/0.09153, allocations: 54.95 MB / 492.7 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001): time 0.003956/0.09552, allocations: 3.001 MB / 495.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001758/0.0973, allocations: 0.9394 MB / 496.6 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.09757, allocations: 4 kB / 496.6 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.0978, allocations: 63.36 kB / 496.7 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.09835, allocations: 182.7 kB / 496.9 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.09895, allocations: 191.6 kB / 497.1 MB, free: 360 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007755/0.09974, allocations: 0.7175 MB / 497.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005643/0.1003, allocations: 395.7 kB / 498.2 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004287/0.1007, allocations: 299.1 kB / 498.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000614/0.1014, allocations: 410.7 kB / 498.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.1016, allocations: 76 kB / 498.9 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.1018, allocations: 99.97 kB / 499 MB, free: 14.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000222/0.102, allocations: 211.4 kB / 499.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000416/0.1025, allocations: 326.5 kB / 499.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007845/0.1033, allocations: 0.7784 MB / 0.4886 GB, free: 13.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1033, allocations: 0 / 0.4886 GB, free: 13.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1033, allocations: 0 / 0.4886 GB, free: 13.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.052e-05/0.1033, allocations: 0 / 0.4886 GB, free: 13.06 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002227/0.1055, allocations: 0.9192 MB / 0.4895 GB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1056, allocations: 12.03 kB / 0.4895 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.1058, allocations: 64.56 kB / 0.4896 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005863/0.1064, allocations: 395.9 kB / 0.49 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.1064, allocations: 37.38 kB / 0.49 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-05/0.1065, allocations: 40.38 kB / 0.49 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.1075, allocations: 0.5493 MB / 0.4906 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1076, allocations: 0 / 0.4906 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.1076, allocations: 16 kB / 0.4906 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.1076, allocations: 8 kB / 0.4906 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1087, allocations: 0.5426 MB / 0.4911 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.1119, allocations: 1.527 MB / 0.4926 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008802/0.1128, allocations: 496.7 kB / 0.4931 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005061/0.1133, allocations: 262 kB / 0.4933 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.442e-05/0.1134, allocations: 8.578 kB / 0.4933 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.1134, allocations: 46.94 kB / 0.4934 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002807/0.1137, allocations: 59.66 kB / 0.4934 GB, free: 7.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.604e-06/0.1137, allocations: 0 / 0.4934 GB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=48): time 0.003127/0.1168, allocations: 1.092 MB / 0.4945 GB, free: 6.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.1169, allocations: 55.84 kB / 0.4946 GB, free: 6.734 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.1173, allocations: 389.6 kB / 0.4949 GB, free: 6.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/0.1173, allocations: 37.7 kB / 0.495 GB, free: 6.301 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1175, allocations: 248.5 kB / 0.4952 GB, free: 6.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.1176, allocations: 182.4 kB / 0.4954 GB, free: 5.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.1179, allocations: 130.3 kB / 0.4955 GB, free: 5.742 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.118, allocations: 358.8 kB / 0.4958 GB, free: 5.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005158/0.1185, allocations: 257.2 kB / 0.4961 GB, free: 5.133 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005649/0.1191, allocations: 370.1 kB / 0.4964 GB, free: 4.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.1202, allocations: 0.6266 MB / 0.4971 GB, free: 4.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1202, allocations: 3.938 kB / 0.4971 GB, free: 4.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002045/0.1222, allocations: 0.863 MB / 0.4979 GB, free: 3.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1223, allocations: 10.34 kB / 0.4979 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1223, allocations: 4 kB / 0.4979 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.1235, allocations: 173.9 kB / 0.4981 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.1249, allocations: 243.7 kB / 0.4983 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000864/0.1257, allocations: 1.156 MB / 0.4994 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.1263, allocations: 24.75 kB / 0.4995 GB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/0.1264, allocations: 31.97 kB / 0.4995 GB, free: 1.496 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.1266, allocations: 193.2 kB / 0.4997 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1267, allocations: 43.72 kB / 0.4997 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.1287, allocations: 0.8298 MB / 0.5005 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.1288, allocations: 3.984 kB / 0.5005 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.1288, allocations: 4 kB / 0.5005 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.1289, allocations: 128.7 kB / 0.5007 GB, free: 272 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.711e-05/0.129, allocations: 19.98 kB / 0.5007 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.1294, allocations: 19.98 kB / 0.5007 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.1295, allocations: 52.47 kB / 0.5008 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1888/0.3184, allocations: 1.012 MB / 0.5017 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001471/0.3199, allocations: 1.103 MB / 0.5028 GB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004193/0.3203, allocations: 288.9 kB / 0.5031 GB, free: 21.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.3205, allocations: 271.7 kB / 0.5034 GB, free: 21.75 MB / 382.1 MB Notification: Performance of Backend: time 3.1e-07/0.3205, allocations: 1.281 kB / 0.5034 GB, free: 21.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.322, allocations: 0.5491 MB / 0.5039 GB, free: 21.68 MB / 382.1 MB Notification: Performance of SimCode: time 0.001735/0.3237, allocations: 1.936 MB / 0.5058 GB, free: 20.48 MB / 382.1 MB Notification: Performance of Templates: time 0.0146/0.3383, allocations: 9.602 MB / 0.5152 GB, free: 19.01 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001.sim & ./AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_001.pipe 2>&1)