Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.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.0008694/0.0008694, allocations: 72.52 kB / 19.95 MB, free: 4.613 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.0009018/0.0009018, allocations: 169.6 kB / 23.23 MB, free: 1.332 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.905/0.905, allocations: 177.1 MB / 203.5 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.06303/0.06303, allocations: 18.14 MB / 278.1 MB, free: 11.53 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.OOM_Intro.HelloWorld_inverse,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld_inverse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.OOM_Intro.HelloWorld_inverse,fileNamePrefix="AES_AES_Coursework_OOM_Intro_HelloWorld_inverse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 415 MB, free: 12.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.68e-05/1.839e-05, allocations: 3.344 kB / 415 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001068/0.001086, allocations: 0.5135 MB / 415.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.001229, allocations: 37.02 kB / 415.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.00125, allocations: 0 / 415.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.424e-05/0.001265, allocations: 1.469 kB / 415.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.409e-05/0.001289, allocations: 5.438 kB / 415.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.001441, allocations: 7.859 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.811e-05/0.001489, allocations: 11.78 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.00153, allocations: 3.109 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.595e-05/0.001546, allocations: 2.141 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.001605, allocations: 4.531 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.001626, allocations: 1.125 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.042e-06/0.001632, allocations: 0.7812 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.001645, allocations: 4 kB / 415.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.001663, allocations: 2.375 kB / 415.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.349e-05/0.001717, allocations: 12.53 kB / 415.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.001719, allocations: 0 / 415.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.001719, allocations: 1.469 kB / 415.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.001723, allocations: 0 / 415.6 MB, free: 12.41 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002476/0.001971, allocations: 246.1 kB / 415.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.00201, allocations: 11.47 kB / 415.9 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.00204, allocations: 35.84 kB / 415.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.943e-05/0.00206, allocations: 5.547 kB / 415.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.43e-05/0.002114, allocations: 109.5 kB / 416 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.002124, allocations: 1.062 kB / 416 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.593e-05/0.00214, allocations: 5.656 kB / 416.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.465e-05/0.002214, allocations: 36.61 kB / 416.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.002221, allocations: 192 / 416.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.002229, allocations: 1.906 kB / 416.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.002233, allocations: 4.125 kB / 416.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.002256, allocations: 3.812 kB / 416.1 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.978e-05/0.002345, allocations: 121.9 kB / 416.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.374e-05/0.002389, allocations: 25.34 kB / 416.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.002405, allocations: 15.98 kB / 416.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.002417, allocations: 0 / 416.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.002432, allocations: 38.44 kB / 416.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 4.71e-07/0.002433, allocations: 0 / 416.3 MB, free: 11.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002509/0.002684, allocations: 68.95 kB / 416.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.82e-05/0.002702, allocations: 53.12 kB / 416.4 MB, free: 11.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.376e-05/0.002736, allocations: 94.89 kB / 416.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.9e-06/0.002741, allocations: 25.7 kB / 416.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.568e-06/0.00275, allocations: 89.52 kB / 416.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.002769, allocations: 10.52 kB / 416.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.002789, allocations: 12.84 kB / 416.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.503e-05/0.002814, allocations: 317.1 kB / 417 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.002826, allocations: 3.891 kB / 417 MB, free: 11.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.067e-06/0.002835, allocations: 4 kB / 417 MB, free: 11.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.002863, allocations: 18.16 kB / 417 MB, free: 11.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.002864, allocations: 0 / 417 MB, free: 11.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.096e-05/0.002905, allocations: 52.23 kB / 417 MB, free: 10.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.002918, allocations: 5.562 kB / 417 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.002922, allocations: 0 / 417 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.002935, allocations: 8.828 kB / 417 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.902e-05/0.002994, allocations: 9.922 kB / 417.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.002999, allocations: 1.641 kB / 417.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.166e-05/0.00301, allocations: 1.625 kB / 417.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.003016, allocations: 4 kB / 417.1 MB, free: 10.96 MB / 330.7 MB 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 (3): * Single equations (assignments): 3 * 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 3.464e-05/0.003051, allocations: 109.7 kB / 417.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-06/0.003056, allocations: 1.781 kB / 417.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.664e-05/0.003142, allocations: 55.42 kB / 417.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.003145, allocations: 6.375 kB / 417.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.003149, allocations: 4 kB / 417.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.003152, allocations: 0 / 417.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.572e-05/0.003198, allocations: 128.2 kB / 417.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003199, allocations: 3.938 kB / 417.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.428e-05/0.003223, allocations: 8.641 kB / 417.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.003224, allocations: 0 / 417.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.003231, allocations: 0.75 kB / 417.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.003232, allocations: 5.312 kB / 417.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.003233, allocations: 1.078 kB / 417.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.351e-05/0.003277, allocations: 69.89 kB / 417.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-06/0.003282, allocations: 2.359 kB / 417.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.003291, allocations: 8 kB / 417.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.697e-06/0.003299, allocations: 10.3 kB / 417.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.003312, allocations: 2.359 kB / 417.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.003313, allocations: 0 / 417.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.197e-05/0.003325, allocations: 79.02 kB / 417.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.003325, allocations: 0 / 417.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000116/0.003441, allocations: 2.75 kB / 417.5 MB, free: 10.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001335/0.003575, allocations: 0.6074 MB / 418.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.824e-05/0.003643, allocations: 16.3 kB / 418.2 MB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.003644, allocations: 4.094 kB / 418.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.003654, allocations: 10.05 kB / 418.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.00376, allocations: 7.312 kB / 418.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.00398, allocations: 119.9 kB / 418.3 MB, free: 9.699 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.627e-05/0.004007, allocations: 58.11 kB / 418.4 MB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.706e-05/0.004024, allocations: 2.078 kB / 418.4 MB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.004056, allocations: 10.58 kB / 418.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.004056, allocations: 1.375 kB / 418.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.01844, allocations: 1.665 MB / 420 MB, free: 8.742 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.688, allocations: 4.969 kB / 420 MB, free: 8.742 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; mkfifo AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe ; head -c 1048576 < AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe >> ../files/AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.OOM_Intro.HelloWorld_inverse_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0333333 AES_AES_Coursework_OOM_Intro_HelloWorld_inverse.fmu > AES_AES.Coursework.OOM_Intro.HelloWorld_inverse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.75276451651007] Failed to read output from testmodel.py, exit status != 0: 6.767483877949417 6.778997684 6.775300153 Calling exit ...