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.0008161/0.0008161, allocations: 76.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.0008443/0.0008443, allocations: 165.6 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.9195/0.9195, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.06243/0.06243, allocations: 18.12 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.463e-06/1.463e-06, allocations: 0 / 415 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.787e-05/1.934e-05, allocations: 2.281 kB / 415 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.OOM_Intro.HelloWorld_inverse): time 0.001054/0.001073, allocations: 0.5125 MB / 415.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001384/0.001211, allocations: 34.95 kB / 415.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.933e-05/0.001231, allocations: 1.25 kB / 415.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.001244, allocations: 0 / 415.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 2.021e-05/0.001265, allocations: 3.938 kB / 415.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.001406, allocations: 13.09 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 4.198e-05/0.001448, allocations: 8.203 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.001486, allocations: 2.531 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.526e-05/0.001501, allocations: 3.156 kB / 415.6 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.001557, allocations: 7.219 kB / 415.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.001576, allocations: 0 / 415.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-06/0.001583, allocations: 1.594 kB / 415.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.001596, allocations: 0.5625 kB / 415.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.001613, allocations: 1.859 kB / 415.6 MB, free: 12.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 5.137e-05/0.001664, allocations: 12.31 kB / 415.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.001667, allocations: 1.312 kB / 415.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.21e-07/0.001667, allocations: 0 / 415.6 MB, free: 12.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.00167, 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.0002613/0.001931, allocations: 243 kB / 415.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.00197, allocations: 11.77 kB / 415.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.991e-05/0.00199, allocations: 36.09 kB / 415.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.79e-05/0.002007, allocations: 4.891 kB / 415.9 MB, free: 12.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.979e-05/0.002057, allocations: 114.6 kB / 416 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.108e-06/0.002066, allocations: 384 / 416 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.002082, allocations: 7.625 kB / 416.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.241e-05/0.002155, allocations: 31.47 kB / 416.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.002162, allocations: 192 / 416.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.002169, allocations: 2.703 kB / 416.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.002174, allocations: 4.125 kB / 416.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.002196, allocations: 3.438 kB / 416.1 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.802e-05/0.002284, allocations: 126.3 kB / 416.2 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.209e-05/0.002326, allocations: 26.41 kB / 416.2 MB, free: 11.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.463e-05/0.00234, allocations: 12.16 kB / 416.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.002353, allocations: 0 / 416.3 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.175e-05/0.002365, allocations: 36.48 kB / 416.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.002366, allocations: 0 / 416.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002474/0.002613, allocations: 70.12 kB / 416.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.633e-05/0.00263, allocations: 52.78 kB / 416.4 MB, free: 11.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.172e-05/0.002661, allocations: 102.7 kB / 416.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.408e-06/0.002666, allocations: 25.7 kB / 416.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.277e-06/0.002675, allocations: 81.52 kB / 416.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.002693, allocations: 10.31 kB / 416.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.00272, allocations: 17.45 kB / 416.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.398e-05/0.002744, allocations: 316.9 kB / 417 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/0.002756, allocations: 3.359 kB / 417 MB, free: 11.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-06/0.002766, allocations: 8.484 kB / 417 MB, free: 11.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.002791, allocations: 17.84 kB / 417 MB, free: 11.01 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.002792, allocations: 3.125 kB / 417 MB, free: 11.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.774e-05/0.00283, allocations: 47.88 kB / 417 MB, free: 10.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.00284, allocations: 8.25 kB / 417 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.002844, allocations: 1.375 kB / 417 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.002854, allocations: 5.062 kB / 417 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.512e-05/0.002909, allocations: 8.188 kB / 417.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.002914, allocations: 0.7031 kB / 417.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.024e-05/0.002924, allocations: 1.375 kB / 417.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.00293, allocations: 2.406 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 2.818e-05/0.002958, allocations: 107.2 kB / 417.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-06/0.002962, allocations: 2.594 kB / 417.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.204e-05/0.003034, allocations: 64.48 kB / 417.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.003036, allocations: 4.969 kB / 417.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.003039, allocations: 0 / 417.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.003041, allocations: 1.375 kB / 417.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.659e-05/0.003078, allocations: 122.9 kB / 417.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.003078, allocations: 3.938 kB / 417.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.003099, allocations: 9.516 kB / 417.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-07/0.0031, allocations: 0 / 417.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.003106, allocations: 1.375 kB / 417.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.003108, allocations: 4.969 kB / 417.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.003109, allocations: 4 kB / 417.4 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.825e-05/0.003157, allocations: 77.94 kB / 417.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.003163, allocations: 2.453 kB / 417.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.696e-06/0.003172, allocations: 0 / 417.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-06/0.003179, allocations: 6.109 kB / 417.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.003192, allocations: 1.938 kB / 417.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.003194, allocations: 0.8906 kB / 417.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.588e-06/0.003203, allocations: 78.03 kB / 417.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003204, allocations: 0 / 417.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001141/0.003318, 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.0001176/0.003435, allocations: 0.6081 MB / 418.2 MB, free: 9.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.76e-05/0.003493, allocations: 16.81 kB / 418.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.003494, allocations: 0 / 418.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.859e-06/0.003504, allocations: 14.09 kB / 418.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.841e-05/0.003602, allocations: 6.25 kB / 418.2 MB, free: 9.844 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001986/0.003801, allocations: 120.5 kB / 418.3 MB, free: 9.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.172e-05/0.003823, allocations: 57.59 kB / 418.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.704e-05/0.00384, allocations: 2.125 kB / 418.4 MB, free: 9.633 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.003866, allocations: 14.58 kB / 418.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.003867, allocations: 1.375 kB / 418.4 MB, free: 9.617 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.01641, allocations: 1.658 MB / 420 MB, free: 8.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.588/6.604, allocations: 12 kB / 420 MB, free: 8.746 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_OOM_Intro_HelloWorld_inverse_fmu --startTime=0 --stopTime=100 --stepSize=0.0333333 --timeout=50 --tolerance=1e-06 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.553246255032718] Failed to read output from testmodel.py, exit status != 0: 6.683898220770061 6.693423868 6.690094098 Calling exit ...