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.001299/0.001299, allocations: 108 kB / 15.6 MB, free: 132 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.001425/0.001425, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1972/0.1972, allocations: 22.34 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 59.89 kB / 378.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2673, allocations: 54.95 MB / 433.8 MB, free: 38.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002258/0.2696, allocations: 1.45 MB / 435.2 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006751/0.2703, allocations: 0.5078 MB / 435.7 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.2703, allocations: 2.906 kB / 435.7 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.2706, allocations: 16.75 kB / 435.7 MB, free: 37.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.925e-05/0.2707, allocations: 28.38 kB / 435.8 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.2709, allocations: 44.5 kB / 435.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.271, allocations: 123.4 kB / 435.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.2711, allocations: 28.91 kB / 436 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.2712, allocations: 46.58 kB / 436 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.2713, allocations: 63.05 kB / 436.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.2714, allocations: 6.469 kB / 436.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.2714, allocations: 8.25 kB / 436.1 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.282e-05/0.2715, allocations: 34.36 kB / 436.1 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.2715, allocations: 37.09 kB / 436.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.556e-05/0.2716, allocations: 79.16 kB / 436.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2716, allocations: 3.938 kB / 436.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2716, allocations: 4 kB / 436.2 MB, free: 36.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2716, allocations: 0 / 436.2 MB, free: 36.93 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.0007467/0.2724, allocations: 442.6 kB / 436.7 MB, free: 36.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2724, allocations: 11.58 kB / 436.7 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.734e-05/0.2725, allocations: 33.16 kB / 436.7 MB, free: 36.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.2725, allocations: 18.06 kB / 436.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.2729, allocations: 232.5 kB / 437 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.2729, allocations: 7.312 kB / 437 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.2729, allocations: 2.906 kB / 437 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.273, allocations: 79.58 kB / 437 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2731, allocations: 3.906 kB / 437 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-06/0.2731, allocations: 0 / 437 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2731, allocations: 0 / 437 MB, free: 36.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.956e-05/0.2732, allocations: 59.41 kB / 437.1 MB, free: 36.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.2737, allocations: 367.5 kB / 437.5 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.2738, allocations: 82.83 kB / 437.5 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.2739, allocations: 43.56 kB / 437.6 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.413e-05/0.2739, allocations: 3.094 kB / 437.6 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.2739, allocations: 34.56 kB / 437.6 MB, free: 35.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2739, allocations: 0 / 437.6 MB, free: 35.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000232/0.2742, allocations: 118.3 kB / 437.7 MB, free: 35.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.2742, allocations: 55.34 kB / 437.8 MB, free: 35.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002886/0.2745, allocations: 194.5 kB / 438 MB, free: 35.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.2745, allocations: 25.7 kB / 438 MB, free: 35.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.465e-05/0.2745, allocations: 112.1 kB / 438.1 MB, free: 35.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.2746, allocations: 22.22 kB / 438.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.2746, allocations: 22.38 kB / 438.2 MB, free: 35.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/0.2747, allocations: 331.5 kB / 438.5 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.557e-05/0.2747, allocations: 26.39 kB / 438.5 MB, free: 35.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.2748, allocations: 33.95 kB / 438.5 MB, free: 35.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.09e-05/0.2749, allocations: 70.92 kB / 438.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2749, allocations: 0 / 438.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001378/0.275, allocations: 117.3 kB / 438.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.275, allocations: 6.281 kB / 438.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.275, allocations: 0 / 438.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2751, allocations: 3.938 kB / 438.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/0.2753, allocations: 26.23 kB / 438.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.2753, allocations: 0 / 438.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.2754, allocations: 15 kB / 438.8 MB, free: 34.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.2754, allocations: 2.688 kB / 438.8 MB, free: 34.91 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.211e-05/0.2755, allocations: 131.4 kB / 438.9 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.2755, allocations: 9.375 kB / 438.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.007e-05/0.2756, allocations: 19.55 kB / 438.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.2756, allocations: 0 / 438.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2756, allocations: 0 / 438.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2756, allocations: 3.938 kB / 438.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.2759, allocations: 406.3 kB / 439.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.276, allocations: 0 / 439.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.2761, allocations: 13.69 kB / 439.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2761, allocations: 0 / 439.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.2761, allocations: 0 / 439.3 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.2761, allocations: 6.625 kB / 439.4 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2761, allocations: 3.938 kB / 439.4 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/0.2763, allocations: 229.5 kB / 439.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.2763, allocations: 87.3 kB / 439.7 MB, free: 34.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.2764, allocations: 7.125 kB / 439.7 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.2765, allocations: 20.44 kB / 439.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.302e-05/0.2766, allocations: 7.062 kB / 439.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.2766, allocations: 0 / 439.7 MB, free: 34.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002347/0.2768, allocations: 146.4 kB / 439.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2768, allocations: 2.969 kB / 439.8 MB, free: 34.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002316/0.2771, allocations: 14.34 kB / 439.9 MB, free: 34.03 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.0003327/0.2774, allocations: 0.7664 MB / 440.6 MB, free: 33.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.2776, allocations: 75.39 kB / 440.7 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2776, allocations: 0 / 440.7 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.2776, allocations: 35.89 kB / 440.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.2779, allocations: 21.72 kB / 440.8 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.2798, allocations: 1.777 MB / 442.5 MB, free: 31.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.28, allocations: 0.7044 MB / 443.2 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.27e-05/0.28, allocations: 20.91 kB / 443.3 MB, free: 31.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.831e-05/0.2801, allocations: 25.61 kB / 443.3 MB, free: 31.2 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2801, allocations: 0 / 443.3 MB, free: 31.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/0.2979, allocations: 2.398 MB / 445.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.595/7.893, allocations: 10.84 kB / 445.7 MB, free: 30.79 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 & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.SOPDT_overdamped_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)