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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00977/0.00977, allocations: 171.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1975/0.1975, allocations: 22.35 MB / 313.8 MB, free: 13.09 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 12 kB / 380.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2752, allocations: 55.98 MB / 436.6 MB, free: 38.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001144/0.2764, allocations: 1.175 MB / 437.8 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005896/0.277, allocations: 0.492 MB / 438.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.847e-05/0.277, allocations: 0 / 438.3 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002012/0.2773, allocations: 16.2 kB / 438.3 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.2774, allocations: 24.05 kB / 438.3 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000133/0.2775, allocations: 46.53 kB / 438.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2776, allocations: 117.5 kB / 438.5 MB, free: 36.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.371e-05/0.2777, allocations: 21.41 kB / 438.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.14e-05/0.2778, allocations: 39.44 kB / 438.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.435e-05/0.2779, allocations: 58.03 kB / 438.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.2779, allocations: 5.781 kB / 438.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.2779, allocations: 3 kB / 438.6 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.278, allocations: 26.11 kB / 438.6 MB, free: 36.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.089e-05/0.278, allocations: 69.59 kB / 438.7 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.604e-05/0.2781, allocations: 70.2 kB / 438.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2781, allocations: 6.844 kB / 438.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2781, allocations: 0 / 438.8 MB, free: 36.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.2781, allocations: 0 / 438.8 MB, free: 36.77 MB / 350.1 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.0006366/0.2788, allocations: 432.6 kB / 439.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.2788, allocations: 16.66 kB / 439.2 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.433e-05/0.2788, allocations: 33.72 kB / 439.2 MB, free: 36.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.523e-05/0.2789, allocations: 11.72 kB / 439.2 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.2792, allocations: 240 kB / 439.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.2792, allocations: 4.375 kB / 439.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.2792, allocations: 6.562 kB / 439.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.2793, allocations: 77.67 kB / 439.6 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.2794, allocations: 8 kB / 439.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.2794, allocations: 4 kB / 439.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2794, allocations: 0 / 439.6 MB, free: 36.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.313e-05/0.2795, allocations: 53.28 kB / 439.6 MB, free: 36.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.2799, allocations: 365.7 kB / 440 MB, free: 35.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.28, allocations: 81.62 kB / 440.1 MB, free: 35.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/0.2801, allocations: 30.31 kB / 440.1 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.2801, allocations: 7.062 kB / 440.1 MB, free: 35.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.2801, allocations: 30.56 kB / 440.1 MB, free: 35.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/0.2801, allocations: 7.922 kB / 440.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002049/0.2803, allocations: 127.1 kB / 440.3 MB, free: 35.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.2803, allocations: 55.16 kB / 440.3 MB, free: 35.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.2806, allocations: 193.2 kB / 440.5 MB, free: 35.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.2806, allocations: 25.7 kB / 440.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.618e-05/0.2807, allocations: 109.1 kB / 440.6 MB, free: 35.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.2807, allocations: 23.16 kB / 440.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/0.2807, allocations: 13.72 kB / 440.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.2808, allocations: 325.2 kB / 441 MB, free: 34.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.108e-05/0.2808, allocations: 33.59 kB / 441 MB, free: 34.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.518e-05/0.2808, allocations: 33.42 kB / 441.1 MB, free: 34.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.29e-05/0.2809, allocations: 81.16 kB / 441.1 MB, free: 34.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2809, allocations: 0 / 441.1 MB, free: 34.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000119/0.2811, allocations: 107 kB / 441.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.498e-06/0.2811, allocations: 6.438 kB / 441.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.2811, allocations: 0 / 441.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.916e-06/0.2811, allocations: 0 / 441.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.2813, allocations: 26.56 kB / 441.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.2813, allocations: 0 / 441.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2814, allocations: 15.95 kB / 441.3 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.2814, allocations: 2.875 kB / 441.3 MB, free: 34.75 MB / 350.1 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 5.364e-05/0.2815, allocations: 134.7 kB / 441.4 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.2815, allocations: 6.75 kB / 441.4 MB, free: 34.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.818e-05/0.2815, allocations: 14.92 kB / 441.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2815, allocations: 2.875 kB / 441.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.2815, allocations: 0 / 441.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2816, allocations: 0 / 441.4 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.2817, allocations: 204.2 kB / 441.6 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2817, allocations: 4 kB / 441.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.022e-05/0.2818, allocations: 15.56 kB / 441.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2818, allocations: 0 / 441.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2818, allocations: 3.141 kB / 441.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2818, allocations: 6.844 kB / 441.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2818, allocations: 0 / 441.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.282, allocations: 235.6 kB / 441.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.751e-05/0.282, allocations: 90.8 kB / 442 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2821, allocations: 64 / 442 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.2822, allocations: 19.31 kB / 442 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.2822, allocations: 10.2 kB / 442 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.2823, allocations: 2.969 kB / 442 MB, free: 34.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002052/0.2825, allocations: 147.7 kB / 442.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2825, allocations: 0 / 442.2 MB, free: 34.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.2827, allocations: 25.66 kB / 442.2 MB, free: 34.01 MB / 350.1 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.0002765/0.283, allocations: 0.7601 MB / 443 MB, free: 33.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.2831, allocations: 71.61 kB / 443 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.2831, allocations: 0 / 443 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.2832, allocations: 34 kB / 443.1 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.2834, allocations: 15.28 kB / 443.1 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.2851, allocations: 1.806 MB / 444.9 MB, free: 31.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.2852, allocations: 0.7084 MB / 445.6 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.109e-05/0.2853, allocations: 18.56 kB / 445.6 MB, free: 31.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.2854, allocations: 32.16 kB / 445.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2854, allocations: 0 / 445.6 MB, free: 31.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2544/0.5398, allocations: 2.231 MB / 447.9 MB, free: 30.95 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001907/0.5401, allocations: 169.5 kB / 448 MB, free: 30.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.533, allocations: 7.984 kB / 448 MB, free: 30.69 MB / 350.1 MB (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 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)