Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.TITO_rational_zeroInit.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.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",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.001151/0.001151, allocations: 108 kB / 15.61 MB, free: 148 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.001297/0.001297, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.197/0.197, allocations: 22.35 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 59.91 kB / 378.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2818, allocations: 54.94 MB / 433.8 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.002123/0.2839, allocations: 1.107 MB / 434.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.2852, allocations: 1.304 MB / 436.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2853, allocations: 3.031 kB / 436.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.2856, allocations: 59.11 kB / 436.2 MB, free: 37.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.2858, allocations: 90.58 kB / 436.3 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.2861, allocations: 129.6 kB / 436.5 MB, free: 37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000353/0.2865, allocations: 452.2 kB / 436.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.2866, allocations: 48.81 kB / 436.9 MB, free: 36.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.2868, allocations: 183.3 kB / 437.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002103/0.287, allocations: 175.2 kB / 437.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.2871, allocations: 17.16 kB / 437.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.56e-05/0.2871, allocations: 20.75 kB / 437.3 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.2872, allocations: 87.53 kB / 437.4 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.873e-05/0.2873, allocations: 108.2 kB / 437.5 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.2875, allocations: 210.8 kB / 437.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2875, allocations: 0 / 437.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2875, allocations: 0 / 437.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.503e-06/0.2875, allocations: 2.531 kB / 437.7 MB, free: 36.48 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001492/0.289, allocations: 0.7057 MB / 438.4 MB, free: 35.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2891, allocations: 11.81 kB / 438.4 MB, free: 35.99 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.2891, allocations: 48.98 kB / 438.5 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.2892, allocations: 32.59 kB / 438.5 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007944/0.29, allocations: 406.3 kB / 438.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.29, allocations: 7.125 kB / 438.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.2901, allocations: 16.72 kB / 438.9 MB, free: 35.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.2903, allocations: 159.9 kB / 439.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2903, allocations: 0 / 439.1 MB, free: 35.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2903, allocations: 7.984 kB / 439.1 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2903, allocations: 3 kB / 439.1 MB, free: 35.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.2906, allocations: 152.5 kB / 439.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008566/0.2914, allocations: 0.6579 MB / 439.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005428/0.292, allocations: 222.5 kB / 440.1 MB, free: 34.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.927e-05/0.2921, allocations: 70.5 kB / 440.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.2921, allocations: 0 / 440.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.736e-05/0.2921, allocations: 40.78 kB / 440.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.2921, allocations: 0 / 440.2 MB, free: 34.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004279/0.2926, allocations: 250.6 kB / 440.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.2926, allocations: 77.11 kB / 440.6 MB, free: 34.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007943/0.2934, allocations: 427.5 kB / 441 MB, free: 34.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2934, allocations: 29.7 kB / 441 MB, free: 34.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.471e-05/0.2935, allocations: 160.6 kB / 441.2 MB, free: 34.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.2936, allocations: 59.97 kB / 441.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.2937, allocations: 33.88 kB / 441.3 MB, free: 34.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.2937, allocations: 339.8 kB / 441.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.11e-05/0.2938, allocations: 63.91 kB / 441.7 MB, free: 33.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.305e-05/0.2939, allocations: 78.08 kB / 441.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.2941, allocations: 157.2 kB / 441.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.2941, allocations: 0 / 441.9 MB, free: 33.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002664/0.2944, allocations: 208.1 kB / 442.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2944, allocations: 5.219 kB / 442.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.2944, allocations: 2.844 kB / 442.1 MB, free: 33.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2945, allocations: 7.875 kB / 442.1 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.2947, allocations: 58.77 kB / 442.2 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.2947, allocations: 2.844 kB / 442.2 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003142/0.2951, allocations: 53.39 kB / 442.2 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.2951, allocations: 2.781 kB / 442.2 MB, free: 33.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (18): * Single equations (assignments): 18 * 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 0.0001036/0.2952, allocations: 145.4 kB / 442.4 MB, free: 33.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.36e-05/0.2953, allocations: 31.31 kB / 442.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/0.2953, allocations: 43.5 kB / 442.4 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2953, allocations: 3 kB / 442.4 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2954, allocations: 0 / 442.4 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.2954, allocations: 0 / 442.4 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.2957, allocations: 296.8 kB / 442.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2957, allocations: 4 kB / 442.7 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.2959, allocations: 28.44 kB / 442.8 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2959, allocations: 3.406 kB / 442.8 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.2959, allocations: 3.938 kB / 442.8 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2959, allocations: 7.5 kB / 442.8 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2959, allocations: 0 / 442.8 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003812/0.2963, allocations: 445.4 kB / 443.2 MB, free: 32.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.122e-05/0.2964, allocations: 115.8 kB / 443.3 MB, free: 32.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.2964, allocations: 6.906 kB / 443.3 MB, free: 32.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.2968, allocations: 53.47 kB / 443.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.2968, allocations: 9.266 kB / 443.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.2968, allocations: 3.25 kB / 443.4 MB, free: 32.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006617/0.2975, allocations: 332.6 kB / 443.7 MB, free: 32.72 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2975, allocations: 0 / 443.7 MB, free: 32.72 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000302/0.2978, allocations: 32.91 kB / 443.7 MB, free: 32.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (P11.x_scaled[1],P12.x_scaled[1],P21.x_scaled[1],P22.x_scaled[1]) * 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 (14): * Single equations (assignments): 14 * 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.0005693/0.2984, allocations: 0.9913 MB / 444.7 MB, free: 31.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.2987, allocations: 153.9 kB / 444.9 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2987, allocations: 0 / 444.9 MB, free: 31.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.621e-05/0.2988, allocations: 71.11 kB / 445 MB, free: 31.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.2992, allocations: 41.59 kB / 445 MB, free: 31.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004431/0.3037, allocations: 3.132 MB / 448.1 MB, free: 29.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.3039, allocations: 0.7825 MB / 448.9 MB, free: 29.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001167/0.304, allocations: 50.28 kB / 449 MB, free: 29.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3042, allocations: 85.53 kB / 449 MB, free: 29.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3042, allocations: 0 / 449 MB, free: 29.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.3281, allocations: 4.865 MB / 453.9 MB, free: 28.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.821, allocations: 12.59 kB / 453.9 MB, free: 28.66 MB / 350.1 MB (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.TITO_rational_zeroInit_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_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1)