Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.0009342/0.0009342, allocations: 80.5 kB / 19.95 MB, free: 4.602 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.0009181/0.0009181, allocations: 165.2 kB / 23.23 MB, free: 1.324 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.8821/0.8821, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.06059/0.06059, 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.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0.8438 kB / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.179e-05, allocations: 2.281 kB / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001765/0.001787, allocations: 1.472 MB / 414.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007107/0.002497, allocations: 0.4935 MB / 414.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.328e-05/0.002571, allocations: 1.656 kB / 414.6 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.002889, allocations: 21.94 kB / 414.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000126/0.003015, allocations: 23.7 kB / 414.7 MB, free: 12.58 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.003254, allocations: 76.73 kB / 414.7 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.003371, allocations: 87.41 kB / 414.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.003466, allocations: 10.83 kB / 414.8 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.003522, allocations: 31.36 kB / 414.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.677e-05/0.003618, allocations: 52.45 kB / 414.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.003641, allocations: 7.031 kB / 414.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.003655, allocations: 7.5 kB / 414.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.189e-05/0.003716, allocations: 35.27 kB / 415 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.003755, allocations: 20.66 kB / 415 MB, free: 12.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.003892, allocations: 88.17 kB / 415.1 MB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.003894, allocations: 7.938 kB / 415.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.003896, allocations: 2 kB / 415.1 MB, free: 12.49 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.003901, allocations: 0 / 415.1 MB, free: 12.49 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005691/0.00447, allocations: 362.8 kB / 415.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.004521, allocations: 9.641 kB / 415.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.589e-05/0.004587, allocations: 38.78 kB / 415.5 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.004622, allocations: 18.41 kB / 415.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.004913, allocations: 174.2 kB / 415.7 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.004926, allocations: 6.656 kB / 415.7 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.004949, allocations: 6.625 kB / 415.7 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.00509, allocations: 75.5 kB / 415.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.005102, allocations: 1.281 kB / 415.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.005114, allocations: 8.922 kB / 415.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.00512, allocations: 1.969 kB / 415.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.005214, allocations: 55.78 kB / 415.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.005699, allocations: 330.7 kB / 416.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.00583, allocations: 79.83 kB / 416.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.005877, allocations: 33.67 kB / 416.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.005889, allocations: 1.281 kB / 416.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.55e-05/0.005905, allocations: 37.3 kB / 416.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.005906, allocations: 0 / 416.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002073/0.006113, allocations: 122.8 kB / 416.4 MB, free: 11.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.006136, allocations: 61.84 kB / 416.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/0.006339, allocations: 194.9 kB / 416.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.006347, allocations: 25.7 kB / 416.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.006386, allocations: 109 kB / 416.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.006401, allocations: 20.02 kB / 416.8 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.006433, allocations: 21.81 kB / 416.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.226e-05/0.006475, allocations: 321.2 kB / 417.2 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.142e-05/0.006517, allocations: 33.75 kB / 417.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.006551, allocations: 32.05 kB / 417.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.228e-05/0.006634, allocations: 76.16 kB / 417.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006635, allocations: 1.375 kB / 417.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00011/0.006745, allocations: 111.9 kB / 417.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.006763, allocations: 6.25 kB / 417.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.006767, allocations: 0 / 417.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.00678, allocations: 0 / 417.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.006901, allocations: 25.17 kB / 417.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.006908, allocations: 1.375 kB / 417.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.151e-05/0.006969, allocations: 21.67 kB / 417.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.006974, allocations: 5.375 kB / 417.5 MB, free: 10.68 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 (8): * Single equations (assignments): 8 * 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 4.934e-05/0.007024, allocations: 127.5 kB / 417.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.604e-05/0.00704, allocations: 8.078 kB / 417.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.086e-05/0.00707, allocations: 17.55 kB / 417.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007073, allocations: 1.375 kB / 417.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.007078, allocations: 0 / 417.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007081, allocations: 0.7031 kB / 417.6 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.007368, allocations: 364.5 kB / 418 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.007369, allocations: 0 / 418 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.007418, allocations: 16.39 kB / 418 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.00742, allocations: 0.5 kB / 418 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.007429, allocations: 1.984 kB / 418 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.007431, allocations: 1.375 kB / 418 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.007434, allocations: 1.562 kB / 418 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.007604, allocations: 229.1 kB / 418.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.007621, allocations: 13.28 kB / 418.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.007637, allocations: 5.688 kB / 418.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.007715, allocations: 18.34 kB / 418.3 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/0.007731, allocations: 8.156 kB / 418.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.007735, allocations: 9.156 kB / 418.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001345/0.007869, allocations: 158.9 kB / 418.4 MB, free: 9.949 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007869, allocations: 0 / 418.4 MB, free: 9.949 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001483/0.008017, allocations: 12.38 kB / 418.4 MB, free: 9.949 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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.000247/0.008264, allocations: 0.7605 MB / 419.2 MB, free: 9.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.008387, allocations: 70.94 kB / 419.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.008388, allocations: 0 / 419.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.008427, allocations: 35.66 kB / 419.3 MB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.008628, allocations: 18.38 kB / 419.3 MB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.009953, allocations: 1.782 MB / 421.1 MB, free: 7.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.026e-05/0.01002, allocations: 96.72 kB / 421.2 MB, free: 7.758 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.063e-05/0.01007, allocations: 17.94 kB / 421.2 MB, free: 7.758 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.589e-05/0.01013, allocations: 32.5 kB / 421.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01013, allocations: 0 / 421.2 MB, free: 7.734 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.02774, allocations: 3.162 MB / 424.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.72/6.747, allocations: 5 kB / 424.4 MB, free: 6.777 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_SOPDT_overdamped_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.631477436050773] Failed to read output from testmodel.py, exit status != 0: 6.978994628414512 6.832799551 6.827201075 Calling exit ...