Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_basic.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.0007615/0.0007615, allocations: 84.44 kB / 20.71 MB, free: 3.832 MB / 18.57 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.0007842/0.0007842, allocations: 173.2 kB / 23.99 MB, free: 0.5508 MB / 18.57 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 0.8413/0.8413, allocations: 177.2 MB / 204.4 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.06035/0.06035, allocations: 18.13 MB / 278.9 MB, free: 11.54 MB / 266.7 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) Running command: translateModel(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") translateModel(AES.Coursework.Typical_control_structures.Cascade_basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 417.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.146e-05, allocations: 3.703 kB / 417.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_basic): time 0.001698/0.00172, allocations: 1.811 MB / 419 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003142/0.002034, allocations: 193.1 kB / 419.2 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.002111, allocations: 5.344 kB / 419.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.002219, allocations: 31.67 kB / 419.2 MB, free: 10.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 4.773e-05/0.002267, allocations: 18.09 kB / 419.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.002442, allocations: 97.27 kB / 419.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001952/0.002637, allocations: 232.3 kB / 419.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.002751, allocations: 43.81 kB / 419.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.002816, allocations: 82.61 kB / 419.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.987e-05/0.002906, allocations: 73.02 kB / 419.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.002937, allocations: 18.62 kB / 419.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.109e-05/0.002958, allocations: 19.69 kB / 419.8 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.00299, allocations: 49.16 kB / 419.8 MB, free: 10.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.003039, allocations: 63.44 kB / 419.9 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001738/0.003212, allocations: 201 kB / 420.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003214, allocations: 0 / 420.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.003215, allocations: 0 / 420.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.003222, allocations: 1.406 kB / 420.1 MB, free: 10.29 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0004831/0.003705, allocations: 443.2 kB / 420.5 MB, free: 9.934 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.003738, allocations: 13.72 kB / 420.5 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.003775, allocations: 26.42 kB / 420.6 MB, free: 9.918 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.003963, allocations: 178.3 kB / 420.7 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.003988, allocations: 18.66 kB / 420.8 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.004021, allocations: 25.47 kB / 420.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000267/0.004288, allocations: 242.6 kB / 421 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.004296, allocations: 1.375 kB / 421 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.004311, allocations: 10.94 kB / 421 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.004318, allocations: 5.328 kB / 421 MB, free: 9.578 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002132/0.004531, allocations: 160.1 kB / 421.2 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/0.005512, allocations: 0.9108 MB / 422.1 MB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.005713, allocations: 145 kB / 422.2 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.909e-05/0.005792, allocations: 73.73 kB / 422.3 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.005815, allocations: 3.047 kB / 422.3 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.117e-05/0.005826, allocations: 37.62 kB / 422.4 MB, free: 8.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.005828, allocations: 0 / 422.4 MB, free: 8.684 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003235/0.006151, allocations: 223.7 kB / 422.6 MB, free: 8.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.129e-05/0.006162, allocations: 53.94 kB / 422.6 MB, free: 8.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.006273, allocations: 208.7 kB / 422.8 MB, free: 8.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.006283, allocations: 31.17 kB / 422.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.006335, allocations: 159.3 kB / 423 MB, free: 8.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.006368, allocations: 80.92 kB / 423.1 MB, free: 8.145 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.006432, allocations: 75.11 kB / 423.2 MB, free: 8.098 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.006468, allocations: 339.7 kB / 423.5 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.868e-05/0.006567, allocations: 78.23 kB / 423.6 MB, free: 7.738 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.006687, allocations: 158.4 kB / 423.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007744/0.007461, allocations: 477.8 kB / 424.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.007464, allocations: 1.031 kB / 424.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003045/0.007768, allocations: 298.2 kB / 424.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.007781, allocations: 5.891 kB / 424.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.007788, allocations: 3.625 kB / 424.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.007802, allocations: 9.469 kB / 424.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.007975, allocations: 86.36 kB / 424.6 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.007984, allocations: 5.5 kB / 424.6 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.008063, allocations: 33.41 kB / 424.6 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.008078, allocations: 16.11 kB / 424.6 MB, free: 7.188 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: P_I.y:VARIABLE(flow=false start = P_I.y_start fixed = true ) \"Connector of Real output signal\" type: Real P_E.y:VARIABLE(flow=false start = P_E.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 (PI_I.LOsat,PI_I.HIsat,PI_E.LOsat,PI_E.HIsat,PI_I.iNoDec,PI_I.iNoInc,PI_I.iTS,PI_E.iTS) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001064/0.008185, allocations: 151.5 kB / 424.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.008211, allocations: 20.08 kB / 424.8 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000259/0.00847, allocations: 222.5 kB / 425 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.008474, allocations: 0.8438 kB / 425 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.008476, allocations: 4.453 kB / 425 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.664e-05/0.008493, allocations: 23.77 kB / 425.1 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.008512, allocations: 5.281 kB / 425.1 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.008586, allocations: 8.422 kB / 425.1 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/0.008641, allocations: 26.64 kB / 425.1 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003887/0.009029, allocations: 309.1 kB / 425.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003596/0.009389, allocations: 464 kB / 425.9 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.911e-05/0.009488, allocations: 72.58 kB / 425.9 MB, free: 6.402 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.647e-05/0.009544, allocations: 139.2 kB / 426.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of Backend: time 1.7e-07/0.009545, allocations: 1.188 kB / 426.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003427/0.009887, allocations: 214.7 kB / 426.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of SimCode: time 0.0005067/0.01039, allocations: 0.9019 MB / 427.2 MB, free: 5.418 MB / 330.7 MB Notification: Performance of Templates: time 0.004106/0.0145, allocations: 2.747 MB / 429.9 MB, free: 5.113 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_basic.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_basic -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.594264268875122] Failed to read output from testmodel.py, exit status != 0: 0.018512804992496967 0.026396985 0.021467278000000003 Calling exit ...