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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 107.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.525/1.525, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_control_problems/Keep_limits_and_overrides/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Keep_within_two_limits Keep_below_limit Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1054/0.1054, allocations: 23.82 MB / 332.7 MB, free: 12.89 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 69.94 kB / 468.6 MB, free: 8.234 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3948, allocations: 59.5 MB / 0.5157 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI): time 0.002418/0.3972, allocations: 0.9902 MB / 0.5167 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3988, allocations: 1.261 MB / 0.5179 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-05/0.3989, allocations: 1.219 kB / 0.5179 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.3993, allocations: 43.58 kB / 0.518 GB, free: 9.031 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.3995, allocations: 48.41 kB / 0.518 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.3996, allocations: 67.16 kB / 0.5181 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.3999, allocations: 205 kB / 0.5183 GB, free: 8.906 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.4001, allocations: 23.73 kB / 0.5183 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.4002, allocations: 87.27 kB / 0.5184 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.4004, allocations: 102 kB / 0.5185 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.4005, allocations: 12.91 kB / 0.5185 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.343e-05/0.4005, allocations: 9.812 kB / 0.5185 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.4006, allocations: 39.06 kB / 0.5185 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.001e-05/0.4006, allocations: 45.88 kB / 0.5186 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.4008, allocations: 113.9 kB / 0.5187 GB, free: 8.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.4008, allocations: 0 / 0.5187 GB, free: 8.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4008, allocations: 1.062 kB / 0.5187 GB, free: 8.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.4008, allocations: 0 / 0.5187 GB, free: 8.73 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001102/0.4019, allocations: 0.5069 MB / 0.5192 GB, free: 8.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.402, allocations: 9.719 kB / 0.5192 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.094e-05/0.402, allocations: 17.02 kB / 0.5192 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005607/0.4026, allocations: 274.5 kB / 0.5195 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.4026, allocations: 7.5 kB / 0.5195 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.4026, allocations: 10.25 kB / 0.5195 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.4029, allocations: 101.2 kB / 0.5196 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4029, allocations: 0 / 0.5196 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.4029, allocations: 8 kB / 0.5196 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4029, allocations: 3.312 kB / 0.5196 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001942/0.4031, allocations: 81.77 kB / 0.5197 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007275/0.4038, allocations: 419.8 kB / 0.5201 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004217/0.4042, allocations: 144.3 kB / 0.5202 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.156e-05/0.4043, allocations: 49.16 kB / 0.5203 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.4044, allocations: 2.984 kB / 0.5203 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4044, allocations: 36.17 kB / 0.5203 GB, free: 7.527 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.4044, allocations: 3.938 kB / 0.5203 GB, free: 7.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.002602/0.407, allocations: 487.8 kB / 0.5208 GB, free: 7.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.407, allocations: 52.5 kB / 0.5208 GB, free: 7.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004398/0.4075, allocations: 231.9 kB / 0.521 GB, free: 7.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.4075, allocations: 30.86 kB / 0.5211 GB, free: 7.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.4075, allocations: 119 kB / 0.5212 GB, free: 6.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.123e-05/0.4076, allocations: 33.64 kB / 0.5212 GB, free: 6.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.844e-05/0.4076, allocations: 23.92 kB / 0.5212 GB, free: 6.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.4077, allocations: 327.2 kB / 0.5215 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.4077, allocations: 32 kB / 0.5216 GB, free: 6.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.4078, allocations: 42.22 kB / 0.5216 GB, free: 6.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.4092, allocations: 290 kB / 0.5219 GB, free: 6.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4092, allocations: 0 / 0.5219 GB, free: 6.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009443/0.4101, allocations: 251.2 kB / 0.5221 GB, free: 6.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.4102, allocations: 5.312 kB / 0.5221 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4102, allocations: 4 kB / 0.5221 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009172/0.4111, allocations: 110.3 kB / 0.5223 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.252e-05/0.4112, allocations: 14.45 kB / 0.5223 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/0.4146, allocations: 1.887 MB / 0.5241 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.4148, allocations: 24.47 kB / 0.5241 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.4148, allocations: 2.406 kB / 0.5241 GB, free: 4.805 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.000125/0.415, allocations: 136.1 kB / 0.5243 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.415, allocations: 18 kB / 0.5243 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008365/0.4159, allocations: 265.2 kB / 0.5245 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4159, allocations: 2.188 kB / 0.5245 GB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.4159, allocations: 7.734 kB / 0.5245 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4159, allocations: 0 / 0.5245 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.4161, allocations: 236.2 kB / 0.5248 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4161, allocations: 0.9688 kB / 0.5248 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.415e-05/0.4162, allocations: 14.16 kB / 0.5248 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006239/0.4168, allocations: 112.6 kB / 0.5249 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.4168, allocations: 2.906 kB / 0.5249 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002403/0.4192, allocations: 1.824 MB / 0.5267 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4192, allocations: 0 / 0.5267 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009377/0.4202, allocations: 396.7 kB / 0.5271 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.4202, allocations: 95.97 kB / 0.5271 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.4202, allocations: 7.219 kB / 0.5272 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.4205, allocations: 29.72 kB / 0.5272 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.4205, allocations: 10.69 kB / 0.5272 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.4205, allocations: 2.312 kB / 0.5272 GB, free: 2.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003896/0.4209, allocations: 186.8 kB / 0.5274 GB, free: 2.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4209, allocations: 4 kB / 0.5274 GB, free: 2.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.4212, allocations: 28.47 kB / 0.5274 GB, free: 2.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (A.x_scaled[1],C.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.4213, allocations: 107.8 kB / 0.5275 GB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000495/0.4218, allocations: 243.2 kB / 0.5277 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4218, allocations: 0 / 0.5277 GB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.4221, allocations: 191.2 kB / 0.5279 GB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.4224, allocations: 24.33 kB / 0.5279 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.423, allocations: 317.5 kB / 0.5282 GB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.4232, allocations: 0.7269 MB / 0.529 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.003e-05/0.4233, allocations: 23.91 kB / 0.529 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.4233, allocations: 12.5 kB / 0.529 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4233, allocations: 0 / 0.529 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of Templates: time 0.007331/0.4306, allocations: 2.591 MB / 0.5315 GB, free: 0.8164 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_004_LTI.makefile [Timeout 660] (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_STDOUT,LOG_ASSERT,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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.168043595738709] Failed to read output from testmodel.py, exit status != 0: 0.4404706321656704 0.45730170499999995 0.05283401699999994 Calling exit ...