Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00212/0.00212, allocations: 186.8 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1526/0.1526, allocations: 22.71 MB / 329 MB, free: 2.336 MB / 254.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.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.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 63.91 kB / 463.1 MB, free: 14.6 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1412, allocations: 58.07 MB / 0.5089 GB, free: 4.434 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003224/0.1444, allocations: 1.813 MB / 0.5107 GB, free: 2.602 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1458, allocations: 0.5922 MB / 0.5113 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.1459, allocations: 4 kB / 0.5113 GB, free: 2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.1462, allocations: 35.72 kB / 0.5113 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.1465, allocations: 67.62 kB / 0.5114 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.1468, allocations: 107.8 kB / 0.5115 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.1472, allocations: 291.4 kB / 0.5118 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.1473, allocations: 37.72 kB / 0.5118 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.1475, allocations: 111.6 kB / 0.5119 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.1478, allocations: 127.5 kB / 0.512 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.1478, allocations: 15.98 kB / 0.5121 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.388e-05/0.1478, allocations: 16 kB / 0.5121 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.1479, allocations: 63.81 kB / 0.5121 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.148, allocations: 75.47 kB / 0.5122 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.1483, allocations: 187.2 kB / 0.5124 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1483, allocations: 0 / 0.5124 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1483, allocations: 0 / 0.5124 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1483, allocations: 0 / 0.5124 GB, free: 0.8828 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001467/0.1498, allocations: 0.4933 MB / 0.5129 GB, free: 368 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1498, allocations: 12.03 kB / 0.5129 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.707e-05/0.1499, allocations: 24.8 kB / 0.5129 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.1505, allocations: 254 kB / 0.5131 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1506, allocations: 8.375 kB / 0.5131 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.1506, allocations: 16.31 kB / 0.5132 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2728/0.4234, allocations: 128.4 kB / 0.5133 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.4234, allocations: 0.6562 kB / 0.5133 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.4235, allocations: 1.844 kB / 0.5133 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.4235, allocations: 2.688 kB / 0.5133 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/0.4238, allocations: 119.4 kB / 0.5134 GB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009786/0.4247, allocations: 497.4 kB / 0.5139 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.4252, allocations: 170.9 kB / 0.514 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.4253, allocations: 80.8 kB / 0.5141 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.4253, allocations: 2.062 kB / 0.5141 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.4254, allocations: 40.38 kB / 0.5142 GB, free: 15.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.664e-06/0.4254, allocations: 0 / 0.5142 GB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005141/0.4259, allocations: 238.4 kB / 0.5144 GB, free: 15.01 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.4259, allocations: 60.3 kB / 0.5144 GB, free: 14.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005529/0.4265, allocations: 271.8 kB / 0.5147 GB, free: 14.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.4265, allocations: 30.45 kB / 0.5147 GB, free: 14.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.587e-05/0.4266, allocations: 126.5 kB / 0.5149 GB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.094e-05/0.4266, allocations: 61.69 kB / 0.5149 GB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.906e-05/0.4267, allocations: 32.17 kB / 0.5149 GB, free: 14.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.06e-05/0.4268, allocations: 331.9 kB / 0.5153 GB, free: 14.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.4269, allocations: 56.72 kB / 0.5153 GB, free: 14.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.427, allocations: 65.22 kB / 0.5154 GB, free: 14.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.429, allocations: 465.3 kB / 0.5158 GB, free: 14.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.429, allocations: 3.031 kB / 0.5158 GB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004214/0.4294, allocations: 218.7 kB / 0.516 GB, free: 14.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.4295, allocations: 5.625 kB / 0.516 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4295, allocations: 0 / 0.516 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.4295, allocations: 5.281 kB / 0.516 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.4297, allocations: 37.61 kB / 0.5161 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4297, allocations: 2.312 kB / 0.5161 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.43, allocations: 39.53 kB / 0.5161 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.43, allocations: 10.67 kB / 0.5161 GB, free: 14.3 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) \"Connector of Real output signal\" type: Real Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) \"Connector of Real output signal\" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [2] 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002329/0.4302, allocations: 153.2 kB / 0.5163 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.4303, allocations: 16.25 kB / 0.5163 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.4308, allocations: 224 kB / 0.5165 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4308, allocations: 2.406 kB / 0.5165 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4308, allocations: 1.828 kB / 0.5165 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4308, allocations: 3.438 kB / 0.5165 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.4311, allocations: 256.2 kB / 0.5168 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4311, allocations: 0 / 0.5168 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.4313, allocations: 35.48 kB / 0.5168 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4313, allocations: 3.938 kB / 0.5168 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/0.4314, allocations: 7.125 kB / 0.5168 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4314, allocations: 2.125 kB / 0.5168 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4314, allocations: 0.7188 kB / 0.5168 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000546/0.4319, allocations: 384.8 kB / 0.5172 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.432, allocations: 28.11 kB / 0.5172 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.048e-05/0.432, allocations: 11.3 kB / 0.5172 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.4323, allocations: 26.03 kB / 0.5172 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.4324, allocations: 15.2 kB / 0.5172 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.4324, allocations: 5.625 kB / 0.5173 GB, free: 13.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004614/0.4328, allocations: 215.8 kB / 0.5175 GB, free: 13.72 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4328, allocations: 5.312 kB / 0.5175 GB, free: 13.72 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002659/0.4331, allocations: 32.62 kB / 0.5175 GB, free: 13.72 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001004/0.4332, allocations: 99.14 kB / 0.5176 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.4335, allocations: 161.2 kB / 0.5177 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4335, allocations: 0 / 0.5177 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.4337, allocations: 81.78 kB / 0.5178 GB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.4341, allocations: 48.06 kB / 0.5179 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000941/0.435, allocations: 490.3 kB / 0.5183 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.4353, allocations: 0.7475 MB / 0.5191 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.4354, allocations: 39.31 kB / 0.5191 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.511e-05/0.4355, allocations: 23.84 kB / 0.5191 GB, free: 12.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4355, allocations: 4 kB / 0.5191 GB, free: 12.68 MB / 382.1 MB Notification: Performance of Templates: time 0.006921/0.4424, allocations: 2.137 MB / 0.5212 GB, free: 12.56 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.280004618689418] Failed to read output from testmodel.py, exit status != 0: 0.45176106318831444 0.465893802 0.31420374700000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f54b38c97b0>