Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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.001474/0.001474, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001747/0.001747, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.1113/0.1113, allocations: 24.12 MB / 333 MB, free: 12.63 MB / 270.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.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.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_SplitRange_standard",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 67.89 kB / 467.8 MB, free: 9.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3623, allocations: 59.58 MB / 0.5151 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.003087/0.3654, allocations: 1.811 MB / 0.5168 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.3664, allocations: 0.6124 MB / 0.5174 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.763e-05/0.3665, allocations: 6.562 kB / 0.5174 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.3668, allocations: 40.52 kB / 0.5175 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.367, allocations: 62.23 kB / 0.5175 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.3672, allocations: 85.88 kB / 0.5176 GB, free: 7.953 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003131/0.3675, allocations: 256 kB / 0.5179 GB, free: 7.855 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3676, allocations: 38.23 kB / 0.5179 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.3677, allocations: 104.4 kB / 0.518 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.3679, allocations: 134.6 kB / 0.5181 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.368, allocations: 14.19 kB / 0.5181 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.057e-05/0.368, allocations: 14.62 kB / 0.5182 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.3681, allocations: 60.31 kB / 0.5182 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.115e-05/0.3682, allocations: 82.91 kB / 0.5183 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.3684, allocations: 171.7 kB / 0.5185 GB, free: 7.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3684, allocations: 1.219 kB / 0.5185 GB, free: 7.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.3684, allocations: 7.875 kB / 0.5185 GB, free: 7.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.3685, allocations: 0.6094 kB / 0.5185 GB, free: 7.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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001176/0.3696, allocations: 0.5775 MB / 0.519 GB, free: 7.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3697, allocations: 14.34 kB / 0.519 GB, free: 7.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.358e-05/0.3697, allocations: 40.48 kB / 0.5191 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.834e-05/0.3698, allocations: 18.98 kB / 0.5191 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005704/0.3703, allocations: 316.2 kB / 0.5194 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3704, allocations: 8.938 kB / 0.5194 GB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.3704, allocations: 20.05 kB / 0.5194 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.3707, allocations: 129.9 kB / 0.5195 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3707, allocations: 1.906 kB / 0.5196 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.889e-05/0.3707, allocations: 5.078 kB / 0.5196 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3707, allocations: 3.594 kB / 0.5196 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.371, allocations: 119.9 kB / 0.5197 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008159/0.3718, allocations: 0.5146 MB / 0.5202 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004224/0.3722, allocations: 175.5 kB / 0.5203 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3723, allocations: 69.83 kB / 0.5204 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.3724, allocations: 5.25 kB / 0.5204 GB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.611e-05/0.3724, allocations: 41.75 kB / 0.5205 GB, free: 6.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.243e-06/0.3724, allocations: 1.094 kB / 0.5205 GB, free: 6.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005042/0.3729, allocations: 243.5 kB / 0.5207 GB, free: 6.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.3729, allocations: 56.31 kB / 0.5207 GB, free: 6.031 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.3734, allocations: 277.7 kB / 0.521 GB, free: 5.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3735, allocations: 26.83 kB / 0.521 GB, free: 5.855 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.3735, allocations: 126.8 kB / 0.5212 GB, free: 5.738 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.3736, allocations: 62.47 kB / 0.5212 GB, free: 5.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.3737, allocations: 33.77 kB / 0.5212 GB, free: 5.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.3737, allocations: 330.1 kB / 0.5216 GB, free: 5.344 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3738, allocations: 60.44 kB / 0.5216 GB, free: 5.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.3739, allocations: 55.84 kB / 0.5217 GB, free: 5.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.3758, allocations: 468.1 kB / 0.5221 GB, free: 5.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.3758, allocations: 0 / 0.5221 GB, free: 5.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003636/0.3761, allocations: 219.2 kB / 0.5223 GB, free: 5.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.3762, allocations: 4.312 kB / 0.5223 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3762, allocations: 1.094 kB / 0.5223 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3762, allocations: 1.094 kB / 0.5223 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002092/0.3764, allocations: 40.95 kB / 0.5224 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3764, allocations: 3.938 kB / 0.5224 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.3766, allocations: 41.55 kB / 0.5224 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.3766, allocations: 7.875 kB / 0.5224 GB, free: 5.07 MB / 382.1 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 (20): * Single equations (assignments): 20 * 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.0001747/0.3768, allocations: 151.7 kB / 0.5226 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.3769, allocations: 20.22 kB / 0.5226 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004429/0.3773, allocations: 225.6 kB / 0.5228 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3773, allocations: 2.375 kB / 0.5228 GB, free: 4.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3773, allocations: 7.875 kB / 0.5228 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3773, allocations: 0 / 0.5228 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.3776, allocations: 284.9 kB / 0.5231 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3776, allocations: 9.062 kB / 0.5231 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.3778, allocations: 33.11 kB / 0.5231 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3779, allocations: 1.062 kB / 0.5231 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.156e-05/0.3779, allocations: 3.188 kB / 0.5231 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3779, allocations: 1.062 kB / 0.5231 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3779, allocations: 3.938 kB / 0.5231 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005201/0.3784, allocations: 390.7 kB / 0.5235 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.143e-05/0.3785, allocations: 100.8 kB / 0.5236 GB, free: 4.23 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.3785, allocations: 8.469 kB / 0.5236 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.3788, allocations: 34.91 kB / 0.5236 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.9e-05/0.3788, allocations: 8.281 kB / 0.5236 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.3788, allocations: 3.219 kB / 0.5237 GB, free: 4.219 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004316/0.3793, allocations: 218 kB / 0.5239 GB, free: 4.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3793, allocations: 0 / 0.5239 GB, free: 4.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002779/0.3795, allocations: 32.5 kB / 0.5239 GB, free: 4.109 MB / 382.1 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 (17): * Single equations (assignments): 17 * 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.0007309/0.3803, allocations: 0.9139 MB / 0.5248 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003598/0.3806, allocations: 154.5 kB / 0.5249 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3806, allocations: 1.406 kB / 0.5249 GB, free: 3.312 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.3808, allocations: 81.91 kB / 0.525 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.3812, allocations: 48.75 kB / 0.5251 GB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.3849, allocations: 2.457 MB / 0.5275 GB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.3851, allocations: 0.749 MB / 0.5282 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001417/0.3853, allocations: 40.95 kB / 0.5282 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.3854, allocations: 60.52 kB / 0.5283 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3854, allocations: 0 / 0.5283 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.4151, allocations: 4.293 MB / 0.5325 GB, free: 364 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.703, allocations: 6.219 kB / 0.5325 GB, free: 360 kB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard_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_SplitRange_standard.fmu > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.440776863135397] Failed to read output from testmodel.py, exit status != 0: 8.77524960716255 8.801237178 8.427724972 Calling exit ...