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.001004/0.001004, allocations: 115.3 kB / 16.41 MB, free: 6.391 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.001012/0.001012, allocations: 194.4 kB / 17.34 MB, free: 5.832 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09462/0.09462, allocations: 22.33 MB / 313.5 MB, free: 8.887 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 59.91 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08362/0.0849, allocations: 54.96 MB / 492.7 MB, free: 4.762 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.001917/0.08685, allocations: 0.9752 MB / 493.7 MB, free: 3.785 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.08814, allocations: 1.209 MB / 494.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.07e-05/0.08822, allocations: 0 / 494.9 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.08849, allocations: 35.78 kB / 494.9 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.08866, allocations: 59.75 kB / 495 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.08883, allocations: 67.88 kB / 495 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.08907, allocations: 199.6 kB / 495.2 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.08918, allocations: 29.44 kB / 495.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.08931, allocations: 87.72 kB / 495.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.08947, allocations: 87.7 kB / 495.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.0895, allocations: 8 kB / 495.4 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.08953, allocations: 12 kB / 495.4 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.807e-05/0.0896, allocations: 39.84 kB / 495.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.787e-05/0.08968, allocations: 63.58 kB / 495.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.08982, allocations: 107.5 kB / 495.7 MB, free: 1.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.08983, allocations: 4 kB / 495.7 MB, free: 1.766 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.08984, allocations: 0 / 495.7 MB, free: 1.766 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.08985, allocations: 4 kB / 495.7 MB, free: 1.762 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.0009776/0.09083, allocations: 0.4948 MB / 496.2 MB, free: 1.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.09087, allocations: 8.031 kB / 496.2 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.09092, allocations: 16.84 kB / 496.2 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.09145, allocations: 280.7 kB / 496.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.09147, allocations: 384 / 496.5 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.0915, allocations: 12.38 kB / 496.5 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.09167, allocations: 101.9 kB / 496.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.09169, allocations: 0 / 496.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.09171, allocations: 11.94 kB / 496.6 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.09172, allocations: 0 / 496.6 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.09188, allocations: 83.88 kB / 496.7 MB, free: 0.668 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.09252, allocations: 408.7 kB / 497.1 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.0929, allocations: 154.7 kB / 497.2 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.09299, allocations: 48.84 kB / 497.3 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.09302, allocations: 3.984 kB / 497.3 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.09306, allocations: 38.55 kB / 497.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.09306, allocations: 0 / 497.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.002665/0.09573, allocations: 487 kB / 497.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.289e-05/0.09577, allocations: 55.41 kB / 497.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.09622, allocations: 233.4 kB / 498.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.09625, allocations: 29.7 kB / 498.1 MB, free: 15.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.09631, allocations: 108.2 kB / 498.2 MB, free: 15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.09636, allocations: 43.62 kB / 498.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.09641, allocations: 25.7 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.09651, allocations: 326.8 kB / 498.6 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.584e-05/0.09659, allocations: 31.98 kB / 498.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.978e-05/0.09665, allocations: 39.97 kB / 498.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.0981, allocations: 296.5 kB / 498.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.09811, allocations: 0 / 498.9 MB, free: 14.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009673/0.09908, allocations: 246.2 kB / 499.2 MB, free: 13.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.09911, allocations: 4.469 kB / 499.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.09912, allocations: 0 / 499.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009322/0.1001, allocations: 112.8 kB / 499.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.1001, allocations: 15.98 kB / 499.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003598/0.1037, allocations: 1.876 MB / 0.4894 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.104, allocations: 31.89 kB / 0.4895 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.104, allocations: 0 / 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.0001105/0.1041, allocations: 141.6 kB / 0.4896 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.1041, allocations: 15.84 kB / 0.4896 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008528/0.105, allocations: 267.7 kB / 0.4899 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.105, allocations: 0 / 0.4899 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.105, allocations: 0 / 0.4899 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.1051, allocations: 100.9 kB / 0.49 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.1051, allocations: 0 / 0.49 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.1054, allocations: 27.95 kB / 0.49 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.319e-05/0.1054, allocations: 11.98 kB / 0.49 GB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006809/0.1061, allocations: 312.7 kB / 0.4903 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003641/0.1065, allocations: 394.5 kB / 0.4907 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.456e-05/0.1066, allocations: 59.95 kB / 0.4907 GB, free: 10.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003863/0.107, allocations: 184.8 kB / 0.4909 GB, free: 10.26 MB / 382.1 MB Notification: Performance of Backend: time 3.2e-07/0.107, allocations: 0 / 0.4909 GB, free: 10.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000582/0.1076, allocations: 289 kB / 0.4912 GB, free: 9.957 MB / 382.1 MB Notification: Performance of SimCode: time 0.000601/0.1082, allocations: 0.7838 MB / 0.492 GB, free: 9.125 MB / 382.1 MB Notification: Performance of Templates: time 0.004922/0.1131, allocations: 2.244 MB / 0.4941 GB, free: 6.918 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)