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_003.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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003") translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.0009638, allocations: 120 kB / 16.42 MB, free: 6.496 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.001005/0.001005, 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09106/0.09106, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 63.89 kB / 437.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/0.08865, allocations: 54.96 MB / 492.7 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003): time 0.003947/0.09261, allocations: 3.431 MB / 496.1 MB, free: 1.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.0945, allocations: 1.041 MB / 497.2 MB, free: 228 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002258/0.09474, allocations: 8 kB / 497.2 MB, free: 220 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002271/0.09498, allocations: 75.22 kB / 497.3 MB, free: 144 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.09553, allocations: 210.5 kB / 497.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006144/0.09615, allocations: 227.6 kB / 497.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008547/0.09702, allocations: 0.8612 MB / 498.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008202/0.09785, allocations: 0.5879 MB / 499.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005442/0.09841, allocations: 402.8 kB / 499.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007525/0.09917, allocations: 0.5647 MB / 0.4884 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002233/0.0994, allocations: 103.9 kB / 0.4885 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003124/0.09972, allocations: 132 kB / 0.4886 GB, free: 13.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.1, allocations: 275.2 kB / 0.4889 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005239/0.1006, allocations: 426.2 kB / 0.4893 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.1016, allocations: 1.036 MB / 0.4903 GB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1016, allocations: 0 / 0.4903 GB, free: 11.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1016, allocations: 0 / 0.4903 GB, free: 11.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.653e-05/0.1016, allocations: 0 / 0.4903 GB, free: 11.33 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002867/0.1045, allocations: 1.095 MB / 0.4913 GB, free: 10.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1046, allocations: 8.031 kB / 0.4914 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.1047, allocations: 76.08 kB / 0.4914 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006972/0.1054, allocations: 459.1 kB / 0.4919 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.1055, allocations: 45.69 kB / 0.4919 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.1056, allocations: 52.38 kB / 0.492 GB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.1071, allocations: 0.7483 MB / 0.4927 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.1071, allocations: 0 / 0.4927 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-05/0.1072, allocations: 28 kB / 0.4927 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1072, allocations: 12 kB / 0.4927 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.1087, allocations: 0.7976 MB / 0.4935 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00524/0.114, allocations: 2.404 MB / 0.4959 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.1152, allocations: 0.6385 MB / 0.4965 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008534/0.1161, allocations: 422.3 kB / 0.4969 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.89e-05/0.1161, allocations: 20.52 kB / 0.4969 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1162, allocations: 39.12 kB / 0.4969 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006711/0.1168, allocations: 159.4 kB / 0.4971 GB, free: 4.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=66): time 3.206e-06/0.1169, allocations: 0 / 0.4971 GB, free: 4.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.01004/0.1269, allocations: 2.369 MB / 0.4994 GB, free: 1.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.82e-05/0.127, allocations: 59.97 kB / 0.4995 GB, free: 1.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004768/0.1274, allocations: 449.8 kB / 0.4999 GB, free: 1.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.1275, allocations: 37.7 kB / 0.4999 GB, free: 1.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1277, allocations: 272.6 kB / 0.5002 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.1279, allocations: 232.6 kB / 0.5004 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.1281, allocations: 158.5 kB / 0.5006 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1283, allocations: 370.8 kB / 0.5009 GB, free: 148 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1756/0.3039, allocations: 337.7 kB / 0.5012 GB, free: 21.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000677/0.3046, allocations: 470.9 kB / 0.5017 GB, free: 21.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.3058, allocations: 0.8291 MB / 0.5025 GB, free: 21.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3058, allocations: 1.641 kB / 0.5025 GB, free: 21.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.005353/0.3112, allocations: 1.566 MB / 0.504 GB, free: 21.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3112, allocations: 10.86 kB / 0.504 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3112, allocations: 3.219 kB / 0.504 GB, free: 21.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004698/0.3159, allocations: 0.8048 MB / 0.5048 GB, free: 21.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.3172, allocations: 245.9 kB / 0.5051 GB, free: 21.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004949/0.3222, allocations: 4.079 MB / 0.509 GB, free: 18.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006151/0.3228, allocations: 28.55 kB / 0.5091 GB, free: 18.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-05/0.3229, allocations: 44.73 kB / 0.5091 GB, free: 18.8 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 {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.3232, allocations: 201.3 kB / 0.5093 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.3233, allocations: 56.48 kB / 0.5094 GB, free: 18.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003309/0.3266, allocations: 1.309 MB / 0.5106 GB, free: 18.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.3266, allocations: 4.594 kB / 0.5106 GB, free: 18.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3266, allocations: 0 / 0.5106 GB, free: 18.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.652e-05/0.3267, allocations: 138.4 kB / 0.5108 GB, free: 18.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.3268, allocations: 24 kB / 0.5108 GB, free: 18.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.3273, allocations: 34.27 kB / 0.5108 GB, free: 18.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.3275, allocations: 77.52 kB / 0.5109 GB, free: 18.43 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004041/0.3316, allocations: 1.368 MB / 0.5122 GB, free: 18.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002009/0.3336, allocations: 1.402 MB / 0.5136 GB, free: 17.95 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005773/0.3342, allocations: 371.7 kB / 0.514 GB, free: 17.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003096/0.3345, allocations: 319 kB / 0.5143 GB, free: 17.85 MB / 382.1 MB Notification: Performance of Backend: time 5.51e-07/0.3345, allocations: 0 / 0.5143 GB, free: 17.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002095/0.3366, allocations: 0.9059 MB / 0.5151 GB, free: 17.62 MB / 382.1 MB Notification: Performance of SimCode: time 0.002081/0.3387, allocations: 2.221 MB / 0.5173 GB, free: 16.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01729/0.356, allocations: 12.83 MB / 0.5298 GB, free: 11.57 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.sim & ./AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.pipe 2>&1)