Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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.000767/0.000767, allocations: 76.55 kB / 19.95 MB, free: 4.59 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.0007847/0.0007847, allocations: 173.2 kB / 23.23 MB, free: 1.309 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.879/0.879, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.0623/0.0623, allocations: 18.13 MB / 278.1 MB, free: 11.55 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: "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 415 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.934e-05, allocations: 2.281 kB / 415 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.002119/0.002138, allocations: 1.767 MB / 416.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008379/0.002976, allocations: 0.5811 MB / 417.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.749e-05/0.003064, allocations: 6.75 kB / 417.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.003383, allocations: 48 kB / 417.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.003543, allocations: 54.72 kB / 417.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.003801, allocations: 136.7 kB / 417.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002344/0.004036, allocations: 203.4 kB / 417.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.004155, allocations: 31.44 kB / 417.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.004259, allocations: 79.34 kB / 417.9 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.004423, allocations: 110.5 kB / 418 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.633e-05/0.004459, allocations: 14.53 kB / 418.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.721e-05/0.004486, allocations: 15.16 kB / 418.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.004575, allocations: 69.97 kB / 418.1 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.004635, allocations: 48.36 kB / 418.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000219/0.004854, allocations: 196.6 kB / 418.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.004858, allocations: 0 / 418.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.004859, allocations: 0 / 418.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.004865, allocations: 0 / 418.4 MB, free: 10.75 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008195/0.005685, allocations: 0.5006 MB / 418.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.005725, allocations: 14.02 kB / 418.9 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.005762, allocations: 49.78 kB / 418.9 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.0058, allocations: 22.77 kB / 419 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.006177, allocations: 255.8 kB / 419.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.006193, allocations: 9.547 kB / 419.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.00622, allocations: 12.38 kB / 419.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.006448, allocations: 155.5 kB / 419.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.00646, allocations: 192 / 419.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.006475, allocations: 13.52 kB / 419.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.006482, allocations: 2.75 kB / 419.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.006691, allocations: 130.8 kB / 419.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.007348, allocations: 492.3 kB / 420 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003832/0.007731, allocations: 184.8 kB / 420.2 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.007843, allocations: 85.5 kB / 420.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/0.007874, allocations: 5.438 kB / 420.3 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.007891, allocations: 38.08 kB / 420.3 MB, free: 9.543 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.007893, allocations: 0 / 420.3 MB, free: 9.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004343/0.008327, allocations: 251.6 kB / 420.6 MB, free: 9.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.008357, allocations: 57.53 kB / 420.6 MB, free: 9.379 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.008684, allocations: 268.6 kB / 420.9 MB, free: 9.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.008697, allocations: 26.77 kB / 420.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.777e-05/0.008755, allocations: 138.9 kB / 421 MB, free: 9.086 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.008801, allocations: 58.88 kB / 421.1 MB, free: 9.039 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.008851, allocations: 34.77 kB / 421.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.284e-05/0.008894, allocations: 331.2 kB / 421.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.267e-05/0.008986, allocations: 63.05 kB / 421.5 MB, free: 8.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.297e-05/0.009069, allocations: 75.62 kB / 421.6 MB, free: 8.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/0.01007, allocations: 461.8 kB / 422 MB, free: 8.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.01007, allocations: 0 / 422 MB, free: 8.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002684/0.01034, allocations: 235.5 kB / 422.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.01036, allocations: 5.312 kB / 422.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.01036, allocations: 4.656 kB / 422.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01038, allocations: 1.281 kB / 422.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.0105, allocations: 43.66 kB / 422.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.01051, allocations: 2.406 kB / 422.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.01062, allocations: 35.36 kB / 422.4 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.01064, allocations: 8.75 kB / 422.4 MB, free: 8.406 MB / 330.7 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 (21): * Single equations (assignments): 21 * 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.0001709/0.01081, allocations: 153.7 kB / 422.5 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.01084, allocations: 23.42 kB / 422.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003769/0.01122, allocations: 233.4 kB / 422.8 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.01122, allocations: 6.281 kB / 422.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.01123, allocations: 0.5156 kB / 422.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01124, allocations: 2.062 kB / 422.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.01148, allocations: 241.3 kB / 423 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01148, allocations: 0.875 kB / 423 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.01163, allocations: 36.67 kB / 423.1 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.01164, allocations: 5.031 kB / 423.1 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.01166, allocations: 7.75 kB / 423.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.01166, allocations: 1.188 kB / 423.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/0.01166, allocations: 0 / 423.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/0.01215, allocations: 407.4 kB / 423.5 MB, free: 7.699 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.848e-05/0.0122, allocations: 27.33 kB / 423.5 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.01222, allocations: 7.031 kB / 423.5 MB, free: 7.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.01236, allocations: 29.81 kB / 423.5 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.01243, allocations: 10.61 kB / 423.5 MB, free: 7.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.01244, allocations: 4.031 kB / 423.5 MB, free: 7.676 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002812/0.01272, allocations: 214.6 kB / 423.8 MB, free: 7.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01272, allocations: 0 / 423.8 MB, free: 7.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.01295, allocations: 40.14 kB / 423.8 MB, free: 7.559 MB / 330.7 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 (18): * Single equations (assignments): 18 * 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.0005898/0.01354, allocations: 0.9417 MB / 424.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.01382, allocations: 166.5 kB / 424.9 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.01382, allocations: 0.875 kB / 424.9 MB, free: 6.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.01394, allocations: 92.62 kB / 425 MB, free: 6.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01424, allocations: 37.7 kB / 425 MB, free: 6.703 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.01684, allocations: 2.498 MB / 427.5 MB, free: 5.105 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.01696, allocations: 142.6 kB / 427.7 MB, free: 5.027 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.01709, allocations: 44.66 kB / 427.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.59e-05/0.01719, allocations: 65.48 kB / 427.8 MB, free: 4.973 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.01719, allocations: 0 / 427.8 MB, free: 4.973 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01857/0.03576, allocations: 4.937 MB / 432.7 MB, free: 3.441 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.764/6.8, allocations: 9 kB / 432.7 MB, free: 3.434 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_DaisyChain_fmu --startTime=0 --stopTime=300 --stepSize=0.6 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_DaisyChain.fmu > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.687313390895724] Failed to read output from testmodel.py, exit status != 0: 6.87956172041595 6.887104302 6.880597499 Calling exit ...