Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.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.0006888/0.0006888, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008305/0.001519, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0006945/0.0006945, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008288/0.001523, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9967/0.9967, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08586/1.083, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.06254/0.06254, allocations: 18.12 MB / 262.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009088/0.07163, allocations: 6.785 MB / 268.9 MB, free: 6.355 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_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") translateModel(AES.Coursework.Typical_control_structures.Cascade_with_locks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_control_structures.Cascade_with_locks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 270.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/1.935e-05, allocations: 2.312 kB / 270.3 MB, free: 4.914 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_control_structures.Cascade_with_locks): time 0.001979/0.001998, allocations: 1.914 MB / 272.2 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000284/0.002282, allocations: 215.1 kB / 272.4 MB, free: 2.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.843e-05/0.002351, allocations: 3.938 kB / 272.4 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.927e-05/0.00242, allocations: 31.55 kB / 272.5 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.67e-05/0.002477, allocations: 23.8 kB / 272.5 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001271/0.002604, allocations: 91.8 kB / 272.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.002793, allocations: 228.8 kB / 272.8 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.002895, allocations: 54.45 kB / 272.8 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.003016, allocations: 131.6 kB / 273 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.003096, allocations: 71.77 kB / 273 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.006e-05/0.003126, allocations: 20 kB / 273.1 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.827e-05/0.003144, allocations: 20 kB / 273.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.003171, allocations: 31.88 kB / 273.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.099e-05/0.003212, allocations: 47.88 kB / 273.2 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.003347, allocations: 131.3 kB / 273.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.003358, allocations: 0 / 273.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003359, allocations: 0 / 273.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.003369, allocations: 0 / 273.3 MB, free: 1.898 MB / 266.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.0005072/0.003876, allocations: 468.1 kB / 273.7 MB, free: 1.414 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.575e-05/0.003902, allocations: 8.031 kB / 273.8 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.003948, allocations: 28.92 kB / 273.8 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.004107, allocations: 174.1 kB / 274 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.004134, allocations: 20.88 kB / 274 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.004163, allocations: 24.38 kB / 274 MB, free: 1.137 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.004369, allocations: 210.2 kB / 274.2 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.004376, allocations: 4.188 kB / 274.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.004388, allocations: 4.375 kB / 274.2 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.004394, allocations: 8.375 kB / 274.2 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.004485, allocations: 72.95 kB / 274.3 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000777/0.005262, allocations: 0.7816 MB / 275.1 MB, free: 12 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1099/0.1152, allocations: 83.81 kB / 275.2 MB, free: 3.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.1152, allocations: 36.16 kB / 275.2 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.1153, allocations: 4.891 kB / 275.2 MB, free: 3.941 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.691e-05/0.1153, allocations: 38.02 kB / 275.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.114e-06/0.1153, allocations: 0 / 275.2 MB, free: 3.902 MB / 266.7 MB Notification: Performance of matching and sorting (n=21): time 0.0002037/0.1155, allocations: 134.1 kB / 275.4 MB, free: 3.871 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.1155, allocations: 54.81 kB / 275.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.885e-05/0.1156, allocations: 197.8 kB / 275.6 MB, free: 3.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.1156, allocations: 30.45 kB / 275.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.978e-05/0.1157, allocations: 150.5 kB / 275.8 MB, free: 3.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.1157, allocations: 83.78 kB / 275.9 MB, free: 3.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.645e-05/0.1158, allocations: 71.25 kB / 275.9 MB, free: 3.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.067e-05/0.1158, allocations: 339.9 kB / 276.3 MB, free: 3.207 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.813e-05/0.1159, allocations: 30 kB / 276.3 MB, free: 3.207 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.802e-05/0.1159, allocations: 126.5 kB / 276.4 MB, free: 3.105 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1161, allocations: 215.5 kB / 276.6 MB, free: 3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1161, allocations: 1.719 kB / 276.6 MB, free: 3 MB / 266.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0001985/0.1163, allocations: 194.5 kB / 276.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1163, allocations: 7.078 kB / 276.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1163, allocations: 3.312 kB / 276.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1164, allocations: 6 kB / 276.8 MB, free: 2.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.1167, allocations: 110.1 kB / 276.9 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1167, allocations: 7.781 kB / 277 MB, free: 2.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.697e-05/0.1168, allocations: 40.05 kB / 277 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1168, allocations: 15.59 kB / 277 MB, free: 2.953 MB / 266.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_E.iTS,PI_I.iTS,PI_I.iNoInc,PI_I.iNoDec) * 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.0001104/0.1169, allocations: 140.7 kB / 277.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1169, allocations: 15.12 kB / 277.2 MB, free: 2.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.1171, allocations: 145.5 kB / 277.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1171, allocations: 6.75 kB / 277.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1171, allocations: 1.062 kB / 277.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1171, allocations: 4.781 kB / 277.3 MB, free: 2.801 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002487/0.1174, allocations: 168 kB / 277.5 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1174, allocations: 1.938 kB / 277.5 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.1176, allocations: 84.8 kB / 277.6 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.1176, allocations: 23.12 kB / 277.6 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1176, allocations: 1.125 kB / 277.6 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1176, allocations: 9.406 kB / 277.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1176, allocations: 1.625 kB / 277.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1176, allocations: 1.156 kB / 277.6 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1179, allocations: 270.3 kB / 277.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.1179, allocations: 10.38 kB / 277.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.118, allocations: 12.84 kB / 277.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.118, allocations: 27.67 kB / 277.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-06/0.118, allocations: 2.75 kB / 277.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.674e-05/0.1181, allocations: 58.3 kB / 278 MB, free: 2.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1181, allocations: 2.422 kB / 278 MB, free: 2.551 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.1183, allocations: 46.66 kB / 278 MB, free: 2.547 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (P_I.y,P_E.y,PI_E.xfb,PI_E.xBias,PI_E.u,PI_E.csfil,PI_I.xfb,PI_I.xBias,PI_I.u,PI_I.csfil) * Number of discrete variables: 4 (PI_E.HIsat,PI_E.LOsat,PI_I.HIsat,PI_I.LOsat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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 6.648e-05/0.1183, allocations: 81.62 kB / 278.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001692/0.1185, allocations: 133.6 kB / 278.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.1185, allocations: 2.469 kB / 278.2 MB, free: 2.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.707e-05/0.1186, allocations: 74.84 kB / 278.3 MB, free: 2.457 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.1188, allocations: 42.5 kB / 278.3 MB, free: 2.457 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/0.1194, allocations: 451.6 kB / 278.8 MB, free: 2.199 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.654e-05/0.1195, allocations: 86.36 kB / 278.9 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.569e-05/0.1195, allocations: 28.72 kB / 278.9 MB, free: 2.129 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.1196, allocations: 88.19 kB / 279 MB, free: 2.086 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1196, allocations: 0 / 279 MB, free: 2.086 MB / 266.7 MB Notification: Performance of Templates: time 0.004826/0.1245, allocations: 2.479 MB / 281.5 MB, free: 1.965 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.makefile [Timeout 660] (rm -f AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; mkfifo AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe >> ../files/AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.sim & ./AES_AES.Coursework.Typical_control_structures.Cascade_with_locks -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.Typical_control_structures.Cascade_with_locks.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.700353343039751]