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_004_LTI.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_004_LTI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI") translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.0009778/0.0009778, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.309/1.309, 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.09374/0.09374, allocations: 22.32 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 71.88 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08763/0.08911, allocations: 54.95 MB / 492.7 MB, free: 4.75 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI): time 0.002095/0.09124, allocations: 0.9702 MB / 493.7 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.09273, allocations: 1.213 MB / 494.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.09284, allocations: 0 / 494.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.09312, allocations: 39.77 kB / 494.9 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.09333, allocations: 47.77 kB / 495 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.09352, allocations: 67.89 kB / 495 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002625/0.0938, allocations: 215.6 kB / 495.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.09392, allocations: 29.38 kB / 495.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.09407, allocations: 83.73 kB / 495.4 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.09425, allocations: 87.7 kB / 495.4 MB, free: 1.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.09429, allocations: 12 kB / 495.5 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.528e-05/0.09432, allocations: 8 kB / 495.5 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.0944, allocations: 51.77 kB / 495.5 MB, free: 1.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.09448, allocations: 47.67 kB / 495.6 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.09463, allocations: 111.6 kB / 495.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.09464, allocations: 0 / 495.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09465, allocations: 0 / 495.7 MB, free: 1.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.09466, allocations: 0 / 495.7 MB, free: 1.758 MB / 366.1 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.001062/0.09573, allocations: 0.4948 MB / 496.2 MB, free: 1.215 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.09578, allocations: 12.02 kB / 496.2 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.09584, allocations: 16.75 kB / 496.2 MB, free: 1.188 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005552/0.0964, allocations: 272.7 kB / 496.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.09642, allocations: 384 / 496.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.09645, allocations: 8.375 kB / 496.5 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.09664, allocations: 97.89 kB / 496.6 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.09666, allocations: 0 / 496.6 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.09668, allocations: 7.938 kB / 496.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.09669, allocations: 4 kB / 496.6 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.09687, allocations: 83.94 kB / 496.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/0.09757, allocations: 420.4 kB / 497.1 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.09796, allocations: 150.7 kB / 497.2 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.678e-05/0.09806, allocations: 56.83 kB / 497.3 MB, free: 0 / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.09809, allocations: 0 / 497.3 MB, free: 0 / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.09813, allocations: 30.56 kB / 497.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.09813, allocations: 0 / 497.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.002589/0.1007, allocations: 483 kB / 497.8 MB, free: 15.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.1008, allocations: 59.41 kB / 497.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.1012, allocations: 233.4 kB / 498.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1012, allocations: 29.7 kB / 498.1 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.1013, allocations: 108.1 kB / 498.2 MB, free: 15.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.1014, allocations: 31.56 kB / 498.2 MB, free: 14.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.1014, allocations: 29.7 kB / 498.2 MB, free: 14.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1016, allocations: 326.8 kB / 498.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.759e-05/0.1016, allocations: 35.97 kB / 498.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.078e-05/0.1017, allocations: 35.98 kB / 498.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.1031, allocations: 296.4 kB / 498.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1032, allocations: 480 / 498.9 MB, free: 14.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009667/0.1041, allocations: 242.2 kB / 499.2 MB, free: 14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1042, allocations: 8 kB / 499.2 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.1042, allocations: 0 / 499.2 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009318/0.1051, allocations: 116.8 kB / 499.3 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.1052, allocations: 19.94 kB / 499.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003725/0.1089, allocations: 1.88 MB / 0.4894 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.1091, allocations: 28.06 kB / 0.4895 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.1092, allocations: 3.984 kB / 0.4895 GB, free: 11.8 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: C.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] A.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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.1093, allocations: 134.5 kB / 0.4896 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.1093, allocations: 19.73 kB / 0.4896 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008484/0.1102, allocations: 267.7 kB / 0.4899 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1102, allocations: 0 / 0.4899 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1102, allocations: 0 / 0.4899 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.62e-05/0.1103, allocations: 104.8 kB / 0.49 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1103, allocations: 4 kB / 0.49 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.1106, allocations: 23.97 kB / 0.49 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.1106, allocations: 16.16 kB / 0.49 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006848/0.1113, allocations: 297.5 kB / 0.4903 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003781/0.1117, allocations: 398.5 kB / 0.4907 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.733e-05/0.1118, allocations: 55.69 kB / 0.4907 GB, free: 10.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003838/0.1122, allocations: 192.7 kB / 0.4909 GB, free: 10.26 MB / 382.1 MB Notification: Performance of Backend: time 4.21e-07/0.1122, allocations: 0 / 0.4909 GB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006205/0.1128, allocations: 286.9 kB / 0.4912 GB, free: 9.961 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006597/0.1135, allocations: 0.7779 MB / 0.4919 GB, free: 9.133 MB / 382.1 MB Notification: Performance of Templates: time 0.00498/0.1185, allocations: 2.247 MB / 0.4941 GB, free: 6.922 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.makefile (rm -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.sim & ./AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.pipe 2>&1)