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.0008506/0.0008505, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0008785/0.0008785, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2652/0.2652, allocations: 22.36 MB / 313.4 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003087, allocations: 8 kB / 380 MB, free: 12.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3078, allocations: 55.97 MB / 436 MB, free: 38.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.001596/0.3094, allocations: 1.162 MB / 437.2 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007239/0.3101, allocations: 479.5 kB / 437.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.3102, allocations: 3.938 kB / 437.6 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.3105, allocations: 15.67 kB / 437.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.3106, allocations: 24.33 kB / 437.7 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001564/0.3108, allocations: 36.31 kB / 437.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.311, allocations: 100.9 kB / 437.8 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.3111, allocations: 23.61 kB / 437.8 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.3112, allocations: 56.06 kB / 437.9 MB, free: 36.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3113, allocations: 59.7 kB / 437.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.3113, allocations: 5.719 kB / 437.9 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.562e-05/0.3113, allocations: 6.844 kB / 438 MB, free: 36.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.223e-05/0.3114, allocations: 31.48 kB / 438 MB, free: 36.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.3115, allocations: 33.64 kB / 438 MB, free: 36.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.017e-05/0.3116, allocations: 53.09 kB / 438.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.3116, allocations: 3.328 kB / 438.1 MB, free: 36.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.3116, allocations: 6.75 kB / 438.1 MB, free: 36.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3116, allocations: 0 / 438.1 MB, free: 36.88 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.0007658/0.3124, allocations: 432 kB / 438.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3124, allocations: 11.53 kB / 438.5 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.926e-05/0.3125, allocations: 36.17 kB / 438.5 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.3125, allocations: 13.41 kB / 438.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.3129, allocations: 227.1 kB / 438.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.3129, allocations: 6.781 kB / 438.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3129, allocations: 10.89 kB / 438.8 MB, free: 36.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.3131, allocations: 77.95 kB / 438.9 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3131, allocations: 3.953 kB / 438.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3131, allocations: 4 kB / 438.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3131, allocations: 2.844 kB / 438.9 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.668e-05/0.3132, allocations: 49.2 kB / 438.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.3138, allocations: 371.3 kB / 439.3 MB, free: 35.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.314, allocations: 73.95 kB / 439.4 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.314, allocations: 31.25 kB / 439.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.3141, allocations: 11.28 kB / 439.4 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3141, allocations: 32.78 kB / 439.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.3141, allocations: 0 / 439.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002804/0.3144, allocations: 124 kB / 439.6 MB, free: 35.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.3144, allocations: 51.41 kB / 439.6 MB, free: 35.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.3147, allocations: 191.5 kB / 439.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.3147, allocations: 25.7 kB / 439.8 MB, free: 35.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.3148, allocations: 116.6 kB / 439.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.3148, allocations: 18.78 kB / 440 MB, free: 35.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-06/0.3148, allocations: 0 / 440 MB, free: 35.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.3149, allocations: 325 kB / 440.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.879e-05/0.315, allocations: 29.53 kB / 440.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/0.315, allocations: 28.59 kB / 440.3 MB, free: 35.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/0.3151, allocations: 34.66 kB / 440.4 MB, free: 35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3151, allocations: 7.891 kB / 440.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001491/0.3153, allocations: 114.7 kB / 440.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3153, allocations: 5.344 kB / 440.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3153, allocations: 0 / 440.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3153, allocations: 3.156 kB / 440.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.3155, allocations: 22.23 kB / 440.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3155, allocations: 3.375 kB / 440.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.3156, allocations: 15.56 kB / 440.5 MB, free: 34.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.3157, allocations: 2.531 kB / 440.5 MB, free: 34.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.349e-05/0.3157, allocations: 122.7 kB / 440.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.3158, allocations: 13.55 kB / 440.7 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.3158, allocations: 15.75 kB / 440.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3158, allocations: 0 / 440.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3158, allocations: 7.609 kB / 440.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3159, allocations: 0 / 440.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.316, allocations: 209.3 kB / 440.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3161, allocations: 3.281 kB / 440.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.19e-05/0.3162, allocations: 19.64 kB / 440.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3162, allocations: 0 / 440.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3162, allocations: 7.469 kB / 440.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3162, allocations: 4 kB / 440.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3162, allocations: 3 kB / 440.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.3164, allocations: 220.7 kB / 441.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.3165, allocations: 89.67 kB / 441.2 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.3165, allocations: 3.953 kB / 441.2 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.3167, allocations: 14.75 kB / 441.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.3167, allocations: 7.031 kB / 441.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.3167, allocations: 6.844 kB / 441.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.3169, allocations: 148.5 kB / 441.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.093e-06/0.3169, allocations: 0 / 441.4 MB, free: 34.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.3171, allocations: 21.88 kB / 441.4 MB, free: 34.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003915/0.3175, allocations: 0.7535 MB / 442.2 MB, free: 33.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.3177, allocations: 66.69 kB / 442.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3177, allocations: 4 kB / 442.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.3177, allocations: 33.55 kB / 442.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.318, allocations: 16.75 kB / 442.3 MB, free: 33.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.3195, allocations: 0.874 MB / 443.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.3197, allocations: 0.7033 MB / 443.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.491e-05/0.3198, allocations: 20.14 kB / 443.9 MB, free: 32.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.3199, allocations: 33.38 kB / 443.9 MB, free: 32.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3199, allocations: 0 / 443.9 MB, free: 32.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01421/0.3341, allocations: 2.202 MB / 446.1 MB, free: 32 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.3343, allocations: 159.6 kB / 446.3 MB, free: 31.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.086, allocations: 0 / 446.3 MB, free: 31.76 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/linux/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) Environment - environmentSimulation: