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.0008763/0.0008763, allocations: 80.44 kB / 19.95 MB, free: 4.617 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.0009822/0.0009822, allocations: 165.2 kB / 23.23 MB, free: 1.336 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.926/0.926, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.06279/0.06279, allocations: 18.13 MB / 278.1 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: "" <> 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: 1.094 kB / 415 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.973e-05, allocations: 2.281 kB / 415 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.DaisyChain): time 0.00195/0.001969, allocations: 1.767 MB / 416.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007996/0.002769, allocations: 0.5901 MB / 417.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.555e-05/0.002855, allocations: 9.125 kB / 417.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.003129, allocations: 36.55 kB / 417.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.003267, allocations: 62.81 kB / 417.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.003494, allocations: 137.9 kB / 417.6 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.003712, allocations: 198 kB / 417.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.003822, allocations: 31.42 kB / 417.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.003921, allocations: 83.34 kB / 418 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.004074, allocations: 102 kB / 418.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.004108, allocations: 13.88 kB / 418.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.056e-05/0.004128, allocations: 15.41 kB / 418.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.298e-05/0.004201, allocations: 70.89 kB / 418.1 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.004256, allocations: 51.98 kB / 418.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.004462, allocations: 187.3 kB / 418.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.512e-06/0.004464, allocations: 4 kB / 418.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.004465, allocations: 2.109 kB / 418.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.004469, allocations: 0 / 418.4 MB, free: 10.77 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.0007293/0.005198, allocations: 0.503 MB / 418.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.005235, allocations: 11.61 kB / 418.9 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.005269, allocations: 44.42 kB / 418.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.005303, allocations: 23.98 kB / 419 MB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.005667, allocations: 254.3 kB / 419.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.005685, allocations: 13.39 kB / 419.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.005712, allocations: 13.75 kB / 419.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.005935, allocations: 150.7 kB / 419.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.00595, allocations: 1.438 kB / 419.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.005963, allocations: 5.656 kB / 419.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.00597, allocations: 3.766 kB / 419.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.006211, allocations: 129.2 kB / 419.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/0.007018, allocations: 491.4 kB / 420 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004332/0.007452, allocations: 197.2 kB / 420.2 MB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001306/0.007582, allocations: 80.7 kB / 420.3 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.007621, allocations: 3.594 kB / 420.3 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.007637, allocations: 32.81 kB / 420.3 MB, free: 9.566 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.084e-06/0.007639, allocations: 4 kB / 420.3 MB, free: 9.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004966/0.008136, allocations: 258.9 kB / 420.6 MB, free: 9.457 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.008166, allocations: 54.11 kB / 420.6 MB, free: 9.395 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.008527, allocations: 268.2 kB / 420.9 MB, free: 9.258 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.008543, allocations: 30.86 kB / 420.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.008622, allocations: 139.1 kB / 421.1 MB, free: 9.098 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.008674, allocations: 67.61 kB / 421.1 MB, free: 9.043 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.008727, allocations: 38.31 kB / 421.2 MB, free: 9.016 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.008788, allocations: 331.1 kB / 421.5 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.008885, allocations: 59.64 kB / 421.5 MB, free: 8.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.175e-05/0.008977, allocations: 62.55 kB / 421.6 MB, free: 8.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009994/0.009976, allocations: 469.8 kB / 422.1 MB, free: 8.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.009978, allocations: 1.562 kB / 422.1 MB, free: 8.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002912/0.01027, allocations: 239.7 kB / 422.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.01028, allocations: 5.219 kB / 422.3 MB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01029, allocations: 4.781 kB / 422.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.0103, allocations: 1.344 kB / 422.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.01042, allocations: 35.36 kB / 422.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.01043, allocations: 1.641 kB / 422.3 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.01056, allocations: 39.5 kB / 422.4 MB, free: 8.418 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.01057, allocations: 3.312 kB / 422.4 MB, free: 8.418 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.0001691/0.01074, allocations: 153.2 kB / 422.5 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.01077, allocations: 24.48 kB / 422.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003782/0.01115, allocations: 236.9 kB / 422.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.01115, allocations: 2.938 kB / 422.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.01116, allocations: 0.6875 kB / 422.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.01117, allocations: 1.219 kB / 422.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.01139, allocations: 237.2 kB / 423 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01139, allocations: 0 / 423 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.01154, allocations: 37.94 kB / 423.1 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.01154, allocations: 13.09 kB / 423.1 MB, free: 7.945 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.01156, allocations: 7.406 kB / 423.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01156, allocations: 5.062 kB / 423.1 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.01156, allocations: 0 / 423.1 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000436/0.012, allocations: 400.6 kB / 423.5 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.446e-05/0.01203, allocations: 29.81 kB / 423.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.01206, allocations: 3.312 kB / 423.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.01219, allocations: 30.02 kB / 423.5 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.01223, allocations: 18.67 kB / 423.6 MB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.01224, allocations: 8.078 kB / 423.6 MB, free: 7.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002533/0.0125, allocations: 210.7 kB / 423.8 MB, free: 7.578 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0125, allocations: 0 / 423.8 MB, free: 7.578 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001804/0.01268, allocations: 36.17 kB / 423.8 MB, free: 7.57 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.0004713/0.01315, allocations: 0.9474 MB / 424.8 MB, free: 6.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.01344, allocations: 158.7 kB / 424.9 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01344, allocations: 1.125 kB / 424.9 MB, free: 6.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.01356, allocations: 88.38 kB / 425 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.01384, allocations: 37.62 kB / 425 MB, free: 6.719 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.01674, allocations: 2.499 MB / 427.5 MB, free: 5.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.01687, allocations: 146.3 kB / 427.7 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.912e-05/0.01697, allocations: 43.89 kB / 427.7 MB, free: 5.031 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.892e-05/0.01706, allocations: 61.88 kB / 427.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.01706, allocations: 0 / 427.8 MB, free: 4.988 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01665/0.03371, allocations: 4.931 MB / 432.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.847/6.881, allocations: 8.984 kB / 432.7 MB, free: 3.453 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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.DaisyChain_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 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.943331219255924] Failed to read output from testmodel.py, exit status != 0: 6.963109924457967 6.977847676 6.970582178 Calling exit ...