Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.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.00142/0.00142, allocations: 106.4 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.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.002092/0.002092, allocations: 194.9 kB / 19.41 MB, free: 3.645 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.546/1.546, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.1006/0.1006, allocations: 22.7 MB / 325.4 MB, free: 3.531 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_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 457.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.124, allocations: 58.02 MB / 0.5036 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops): time 0.004145/0.1281, allocations: 2.028 MB / 0.5056 GB, free: 5.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.1297, allocations: 0.6858 MB / 0.5062 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.1298, allocations: 4 kB / 0.5062 GB, free: 4.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.1302, allocations: 79.47 kB / 0.5063 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.1305, allocations: 99.45 kB / 0.5064 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.1308, allocations: 159.7 kB / 0.5066 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005672/0.1314, allocations: 455.6 kB / 0.507 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.1316, allocations: 66.03 kB / 0.5071 GB, free: 3.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.1318, allocations: 183.4 kB / 0.5072 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.1322, allocations: 227.2 kB / 0.5075 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.1323, allocations: 24 kB / 0.5075 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.673e-05/0.1323, allocations: 24 kB / 0.5075 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.1325, allocations: 107.6 kB / 0.5076 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.1326, allocations: 131.1 kB / 0.5077 GB, free: 2.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.133, allocations: 294.6 kB / 0.508 GB, free: 2.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.133, allocations: 4 kB / 0.508 GB, free: 2.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.133, allocations: 0 / 0.508 GB, free: 2.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.133, allocations: 4 kB / 0.508 GB, free: 2.582 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002056/0.1351, allocations: 0.7711 MB / 0.5088 GB, free: 1.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1351, allocations: 8.031 kB / 0.5088 GB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.1352, allocations: 40.7 kB / 0.5088 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009982/0.1362, allocations: 420.2 kB / 0.5092 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1362, allocations: 12.7 kB / 0.5092 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.1363, allocations: 24.33 kB / 0.5092 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003786/0.1367, allocations: 196.5 kB / 0.5094 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.1367, allocations: 0 / 0.5094 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/0.1367, allocations: 8 kB / 0.5094 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1367, allocations: 4 kB / 0.5094 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004094/0.1371, allocations: 208.1 kB / 0.5096 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001277/0.1384, allocations: 0.6953 MB / 0.5103 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2742/0.4126, allocations: 299.7 kB / 0.5106 GB, free: 16.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.4128, allocations: 118.8 kB / 0.5107 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.4129, allocations: 3.844 kB / 0.5107 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.4129, allocations: 43.7 kB / 0.5108 GB, free: 16.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.014e-06/0.4129, allocations: 3.281 kB / 0.5108 GB, free: 16.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008326/0.4137, allocations: 366.9 kB / 0.5111 GB, free: 16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.4137, allocations: 53.88 kB / 0.5112 GB, free: 15.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009234/0.4147, allocations: 420.6 kB / 0.5116 GB, free: 15.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.4147, allocations: 30.95 kB / 0.5116 GB, free: 15.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.4148, allocations: 166.8 kB / 0.5118 GB, free: 15.72 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.24e-05/0.4149, allocations: 92.25 kB / 0.5119 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.477e-05/0.4149, allocations: 43.19 kB / 0.5119 GB, free: 15.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.415, allocations: 347.8 kB / 0.5122 GB, free: 15.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/0.4152, allocations: 97.38 kB / 0.5123 GB, free: 15.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.4154, allocations: 95.81 kB / 0.5124 GB, free: 15.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.4178, allocations: 0.6603 MB / 0.5131 GB, free: 15.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4178, allocations: 0 / 0.5131 GB, free: 15.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004882/0.4183, allocations: 331.8 kB / 0.5134 GB, free: 15.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4183, allocations: 7.422 kB / 0.5134 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.4183, allocations: 1.188 kB / 0.5134 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4183, allocations: 1.156 kB / 0.5134 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.4186, allocations: 59.36 kB / 0.5134 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.4186, allocations: 0 / 0.5134 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.419, allocations: 70.8 kB / 0.5135 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.4191, allocations: 8 kB / 0.5135 GB, free: 15.27 MB / 382.1 MB Warning: Assuming fixed start value for the following 7 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 CA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] CA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) \"Scaled vector x\" type: Real [1] 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 (31): * Single equations (assignments): 31 * 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.0001847/0.4192, allocations: 171.2 kB / 0.5137 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.46e-05/0.4193, allocations: 28.47 kB / 0.5137 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005573/0.4198, allocations: 323.9 kB / 0.514 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4199, allocations: 3.406 kB / 0.514 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4199, allocations: 0.9375 kB / 0.514 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4199, allocations: 4.266 kB / 0.514 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.4202, allocations: 376.9 kB / 0.5144 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4202, allocations: 0 / 0.5144 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003075/0.4205, allocations: 52.42 kB / 0.5144 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4205, allocations: 3.5 kB / 0.5144 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.291e-05/0.4205, allocations: 10.44 kB / 0.5144 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4205, allocations: 3.812 kB / 0.5144 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4205, allocations: 0 / 0.5144 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.4213, allocations: 0.5254 MB / 0.515 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.4213, allocations: 116 kB / 0.5151 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.4214, allocations: 8.922 kB / 0.5151 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.4218, allocations: 52.48 kB / 0.5151 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.053e-05/0.4219, allocations: 17.56 kB / 0.5151 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.4219, allocations: 7.562 kB / 0.5152 GB, free: 14.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007288/0.4226, allocations: 329.4 kB / 0.5155 GB, free: 14.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4226, allocations: 1.375 kB / 0.5155 GB, free: 14.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002978/0.4229, allocations: 53.89 kB / 0.5155 GB, free: 14.53 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,CA2.x_scaled[1],CA1.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 (26): * Single equations (assignments): 26 * 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.0001069/0.423, allocations: 109.6 kB / 0.5156 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004922/0.4235, allocations: 247.2 kB / 0.5159 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4235, allocations: 0 / 0.5159 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000238/0.4238, allocations: 131.3 kB / 0.516 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.4242, allocations: 57.25 kB / 0.516 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.4258, allocations: 0.6982 MB / 0.5167 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.4263, allocations: 0.7961 MB / 0.5175 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.4265, allocations: 65.33 kB / 0.5176 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.4266, allocations: 29.59 kB / 0.5176 GB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4266, allocations: 0 / 0.5176 GB, free: 13.34 MB / 382.1 MB Notification: Performance of Templates: time 0.00963/0.4363, allocations: 3.056 MB / 0.5206 GB, free: 13.15 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_cascadeLoops.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.18039347184822] Failed to read output from testmodel.py, exit status != 0: 0.44497091695666313 0.45619244000000003 0.32047559800000003 Calling exit ...