Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.FOPDT.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.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",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.001213/0.001213, 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.001279/0.001279, allocations: 194.6 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1954/0.1954, allocations: 22.34 MB / 312.7 MB, free: 12.51 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002426, allocations: 55.91 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2792, allocations: 54.94 MB / 433.8 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002464/0.2817, allocations: 1.425 MB / 435.2 MB, free: 37.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003152/0.2821, allocations: 127.5 kB / 435.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.817e-05/0.2821, allocations: 0 / 435.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.2822, allocations: 3.938 kB / 435.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.2823, allocations: 7.938 kB / 435.3 MB, free: 37.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.2825, allocations: 33.06 kB / 435.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.2826, allocations: 29.39 kB / 435.4 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.2827, allocations: 12.09 kB / 435.4 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.507e-05/0.2827, allocations: 16.83 kB / 435.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.2828, allocations: 14.22 kB / 435.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.2828, allocations: 0 / 435.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-06/0.2828, allocations: 2.906 kB / 435.4 MB, free: 37.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.2829, allocations: 10.81 kB / 435.4 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.766e-05/0.2829, allocations: 22.67 kB / 435.5 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.825e-05/0.283, allocations: 20.73 kB / 435.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.283, allocations: 0 / 435.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.283, allocations: 0 / 435.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.283, allocations: 0 / 435.5 MB, free: 37.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003141/0.2833, allocations: 350.8 kB / 435.8 MB, free: 37.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.2833, allocations: 8.594 kB / 435.8 MB, free: 37.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.2834, allocations: 30.75 kB / 435.9 MB, free: 37.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.2834, allocations: 12.28 kB / 435.9 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.2836, allocations: 181.7 kB / 436 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2836, allocations: 3.516 kB / 436 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.2836, allocations: 3.281 kB / 436 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.216e-05/0.2837, allocations: 48.8 kB / 436.1 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2837, allocations: 3.938 kB / 436.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.2837, allocations: 0 / 436.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.2837, allocations: 0 / 436.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.755e-05/0.2838, allocations: 13.62 kB / 436.1 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.2841, allocations: 274.1 kB / 436.4 MB, free: 36.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.562e-05/0.2841, allocations: 23.75 kB / 436.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.2841, allocations: 18.52 kB / 436.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.2842, allocations: 3.938 kB / 436.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.2842, allocations: 30.56 kB / 436.5 MB, free: 36.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.664e-06/0.2842, allocations: 4 kB / 436.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001383/0.2843, allocations: 48.38 kB / 436.5 MB, free: 36.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.2844, allocations: 51.41 kB / 436.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.2844, allocations: 119.4 kB / 436.7 MB, free: 36.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.2844, allocations: 25.7 kB / 436.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.08e-05/0.2845, allocations: 98.73 kB / 436.8 MB, free: 36.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.648e-06/0.2845, allocations: 7.844 kB / 436.8 MB, free: 36.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.2845, allocations: 17.53 kB / 436.8 MB, free: 36.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.2846, allocations: 329.2 kB / 437.1 MB, free: 35.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.2846, allocations: 11 kB / 437.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.026e-05/0.2846, allocations: 2.906 kB / 437.2 MB, free: 35.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.897e-05/0.2847, allocations: 18.7 kB / 437.2 MB, free: 35.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2847, allocations: 0 / 437.2 MB, free: 35.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.367e-05/0.2847, allocations: 41.84 kB / 437.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2847, allocations: 6.094 kB / 437.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2848, allocations: 0 / 437.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2848, allocations: 3.984 kB / 437.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.82e-05/0.2848, allocations: 6.5 kB / 437.2 MB, free: 35.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.2848, allocations: 11.09 kB / 437.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.862e-05/0.2849, allocations: 0 / 437.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.2849, allocations: 4 kB / 437.2 MB, free: 35.82 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 (3): * Single equations (assignments): 3 * 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.764e-05/0.2849, allocations: 117.5 kB / 437.4 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.285, allocations: 3.906 kB / 437.4 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.079e-05/0.285, allocations: 10.41 kB / 437.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.285, allocations: 0 / 437.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.285, allocations: 0 / 437.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.285, allocations: 0 / 437.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.2852, allocations: 286.4 kB / 437.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2852, allocations: 0 / 437.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.646e-05/0.2853, allocations: 3.438 kB / 437.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2853, allocations: 0 / 437.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2853, allocations: 6.875 kB / 437.7 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2853, allocations: 3.281 kB / 437.7 MB, free: 35.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2853, allocations: 7.875 kB / 437.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.803e-05/0.2854, allocations: 144.6 kB / 437.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.021e-05/0.2854, allocations: 84.02 kB / 437.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.2854, allocations: 0 / 437.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.884e-05/0.2855, allocations: 0 / 437.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.2855, allocations: 7.875 kB / 437.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2855, allocations: 3.812 kB / 437.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.167e-05/0.2856, allocations: 90.08 kB / 438 MB, free: 35.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2856, allocations: 0 / 438 MB, free: 35.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002206/0.2858, allocations: 5.594 kB / 438 MB, free: 35.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (Pr.y) * 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 (2): * Single equations (assignments): 2 * 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.0002218/0.286, allocations: 0.6842 MB / 438.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.436e-05/0.2861, allocations: 5.469 kB / 438.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2861, allocations: 0 / 438.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.197e-05/0.2861, allocations: 13.69 kB / 438.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.2865, allocations: 15.72 kB / 438.7 MB, free: 34.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008452/0.2873, allocations: 1.277 MB / 440 MB, free: 33.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2874, allocations: 0.6839 MB / 440.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.2875, allocations: 7.062 kB / 440.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.04e-05/0.2875, allocations: 14.67 kB / 440.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.2875, allocations: 4 kB / 440.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.3058, allocations: 1.378 MB / 442.1 MB, free: 32.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/7.764, allocations: 12.67 kB / 442.1 MB, free: 32.05 MB / 350.1 MB (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.FOPDT_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_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1)