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.001022/0.001022, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 190.2 kB / 16.62 MB, free: 6.582 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.348/1.348, allocations: 222.9 MB / 240.3 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1925/0.1925, allocations: 22.36 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.89 kB / 379 MB, free: 12.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2924, allocations: 54.96 MB / 433.9 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002804/0.2953, allocations: 1.449 MB / 435.4 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008509/0.2962, allocations: 0.5004 MB / 435.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.213e-05/0.2963, allocations: 0 / 435.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.2966, allocations: 28.11 kB / 435.9 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2967, allocations: 23.58 kB / 435.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.2969, allocations: 45.77 kB / 436 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.2971, allocations: 126.7 kB / 436.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2972, allocations: 24.64 kB / 436.1 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.094e-05/0.2973, allocations: 47 kB / 436.2 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.2974, allocations: 63.45 kB / 436.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.388e-05/0.2974, allocations: 5.375 kB / 436.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.775e-05/0.2975, allocations: 12.09 kB / 436.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.355e-05/0.2975, allocations: 34.56 kB / 436.3 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.2976, allocations: 36.53 kB / 436.3 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.2977, allocations: 79.73 kB / 436.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2977, allocations: 3.188 kB / 436.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2977, allocations: 0 / 436.4 MB, free: 37.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.2977, allocations: 0 / 436.4 MB, free: 37.02 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.0007978/0.2985, allocations: 446.8 kB / 436.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2986, allocations: 10.38 kB / 436.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.127e-05/0.2986, allocations: 33.28 kB / 436.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.2987, allocations: 13.97 kB / 436.9 MB, free: 36.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.2991, allocations: 228.8 kB / 437.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.2991, allocations: 10.75 kB / 437.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.2991, allocations: 8.953 kB / 437.1 MB, free: 36.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.2992, allocations: 76.45 kB / 437.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2993, allocations: 3.906 kB / 437.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2993, allocations: 4 kB / 437.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.2993, allocations: 2.5 kB / 437.2 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.471e-05/0.2994, allocations: 58.58 kB / 437.3 MB, free: 36.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.2999, allocations: 370.2 kB / 437.6 MB, free: 35.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3001, allocations: 88.83 kB / 437.7 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/0.3001, allocations: 36.19 kB / 437.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.3001, allocations: 0 / 437.8 MB, free: 35.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.362e-05/0.3002, allocations: 34.56 kB / 437.8 MB, free: 35.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.3002, allocations: 0 / 437.8 MB, free: 35.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002345/0.3004, allocations: 126.2 kB / 437.9 MB, free: 35.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.3004, allocations: 54.44 kB / 438 MB, free: 35.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.3007, allocations: 189.5 kB / 438.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3007, allocations: 25.7 kB / 438.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.414e-05/0.3008, allocations: 112.7 kB / 438.3 MB, free: 35.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3008, allocations: 21.73 kB / 438.3 MB, free: 35.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.3009, allocations: 19.59 kB / 438.3 MB, free: 35.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.3009, allocations: 333.5 kB / 438.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.965e-05/0.301, allocations: 31.27 kB / 438.7 MB, free: 35.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.301, allocations: 28.31 kB / 438.7 MB, free: 35.1 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.729e-05/0.3011, allocations: 71.67 kB / 438.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3011, allocations: 0 / 438.8 MB, free: 35.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001469/0.3013, allocations: 118.8 kB / 438.9 MB, free: 35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3013, allocations: 6.125 kB / 438.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3013, allocations: 0 / 438.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3013, allocations: 0 / 438.9 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.3015, allocations: 29.98 kB / 438.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3016, allocations: 0 / 438.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.3017, allocations: 16.84 kB / 439 MB, free: 34.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3017, allocations: 0 / 439 MB, free: 34.99 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 6.991e-05/0.3018, allocations: 129.6 kB / 439.1 MB, free: 34.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.3018, allocations: 6.312 kB / 439.1 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.3019, allocations: 17.88 kB / 439.1 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3019, allocations: 3.984 kB / 439.1 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3019, allocations: 4 kB / 439.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3019, allocations: 7.172 kB / 439.1 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.3023, allocations: 404.5 kB / 439.5 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3023, allocations: 0 / 439.5 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-05/0.3024, allocations: 11.42 kB / 439.5 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3024, allocations: 0 / 439.5 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3024, allocations: 3.031 kB / 439.5 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3024, allocations: 3.938 kB / 439.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3024, allocations: 4 kB / 439.5 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.3026, allocations: 233.9 kB / 439.8 MB, free: 34.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.945e-05/0.3027, allocations: 88.33 kB / 439.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.264e-05/0.3027, allocations: 6.234 kB / 439.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.3029, allocations: 18.8 kB / 439.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.3029, allocations: 5.578 kB / 439.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.3029, allocations: 0 / 439.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.3031, allocations: 154.2 kB / 440 MB, free: 34.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3031, allocations: 0 / 440 MB, free: 34.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002179/0.3033, allocations: 13.47 kB / 440 MB, free: 34.11 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.0003065/0.3037, allocations: 0.7607 MB / 440.8 MB, free: 33.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.3038, allocations: 72.64 kB / 440.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3038, allocations: 0 / 440.9 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.413e-05/0.3039, allocations: 37.78 kB / 440.9 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/0.3042, allocations: 15.33 kB / 440.9 MB, free: 33.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.306, allocations: 1.776 MB / 442.7 MB, free: 32.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.3062, allocations: 0.7119 MB / 443.4 MB, free: 31.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.217e-05/0.3062, allocations: 18.27 kB / 443.4 MB, free: 31.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.071e-05/0.3063, allocations: 25.47 kB / 443.5 MB, free: 31.29 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3063, allocations: 0 / 443.5 MB, free: 31.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.3238, allocations: 2.424 MB / 445.9 MB, free: 30.88 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.125/7.449, allocations: 15.58 kB / 445.9 MB, free: 30.87 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)