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.006753/0.006753, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.001141/0.001141, allocations: 192 kB / 16.67 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2518/0.2518, allocations: 22.35 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 66.23 kB / 434.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09568/0.09688, allocations: 54.96 MB / 489.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.001765/0.09868, allocations: 1.12 MB / 490.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.0998, allocations: 1.295 MB / 491.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.145e-05/0.09989, allocations: 4 kB / 491.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.1002, allocations: 71.56 kB / 491.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1004, allocations: 83.58 kB / 492 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.1006, allocations: 131.8 kB / 492.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000288/0.1009, allocations: 447.2 kB / 492.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1011, allocations: 48.39 kB / 492.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1012, allocations: 183.4 kB / 492.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.1014, allocations: 167.4 kB / 492.9 MB, free: 340 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.1014, allocations: 23.94 kB / 492.9 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.435e-05/0.1015, allocations: 20 kB / 493 MB, free: 296 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.698e-05/0.1016, allocations: 91.72 kB / 493.1 MB, free: 204 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.25e-05/0.1016, allocations: 107.3 kB / 493.2 MB, free: 96 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.1019, allocations: 219 kB / 493.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1019, allocations: 0 / 493.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1019, allocations: 0 / 493.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.1019, allocations: 0 / 493.4 MB, free: 15.88 MB / 366.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.001613/0.1035, allocations: 0.7125 MB / 494.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.1036, allocations: 8.031 kB / 494.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.383e-05/0.1037, allocations: 46.67 kB / 494.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.1037, allocations: 36.69 kB / 494.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009229/0.1047, allocations: 415.5 kB / 494.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1047, allocations: 8.375 kB / 494.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.1047, allocations: 20.31 kB / 494.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/0.105, allocations: 159.5 kB / 494.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.105, allocations: 3.984 kB / 494.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.1051, allocations: 8 kB / 494.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1051, allocations: 0 / 494.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.1053, allocations: 143.8 kB / 494.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1064, allocations: 0.6529 MB / 495.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.107, allocations: 229.2 kB / 495.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.1071, allocations: 69.69 kB / 495.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1071, allocations: 0 / 495.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1072, allocations: 38.55 kB / 495.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.1072, allocations: 0 / 495.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004519/0.1076, allocations: 249.6 kB / 496.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.1077, allocations: 81.11 kB / 496.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008839/0.1086, allocations: 423.2 kB / 496.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1086, allocations: 29.7 kB / 496.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1087, allocations: 168.3 kB / 496.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.1088, allocations: 51.48 kB / 496.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/0.1089, allocations: 37.7 kB / 496.9 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.109, allocations: 338.8 kB / 497.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.1091, allocations: 63.89 kB / 497.3 MB, free: 11.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.1093, allocations: 84.48 kB / 497.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.1095, allocations: 157.5 kB / 497.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1095, allocations: 4 kB / 497.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003051/0.1098, allocations: 201.4 kB / 497.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1098, allocations: 8 kB / 497.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1099, allocations: 0 / 497.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.1099, allocations: 7.938 kB / 497.8 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.1102, allocations: 55.91 kB / 497.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1102, allocations: 0 / 497.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.1105, allocations: 63.81 kB / 497.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.1105, allocations: 4 kB / 497.9 MB, free: 11.09 MB / 366.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.0001374/0.1107, allocations: 144.1 kB / 498 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.1107, allocations: 27.81 kB / 498 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/0.1108, allocations: 37.77 kB / 498.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1108, allocations: 4 kB / 498.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1108, allocations: 3.984 kB / 498.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1108, allocations: 0 / 498.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.1112, allocations: 301.5 kB / 498.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1112, allocations: 3.938 kB / 498.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.1114, allocations: 20 kB / 498.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.1114, allocations: 3.984 kB / 498.4 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1114, allocations: 11.94 kB / 498.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.1114, allocations: 0 / 498.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1115, allocations: 0 / 498.4 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.1119, allocations: 448.3 kB / 498.9 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.584e-05/0.112, allocations: 120.9 kB / 499 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.1121, allocations: 3.938 kB / 499 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.1125, allocations: 47.92 kB / 499 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.093e-05/0.1125, allocations: 12.17 kB / 499 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1125, allocations: 0 / 499 MB, free: 9.836 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007097/0.1133, allocations: 337.7 kB / 499.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1133, allocations: 0 / 499.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.1136, allocations: 39.95 kB / 499.4 MB, free: 9.469 MB / 366.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.0007071/0.1143, allocations: 0.9927 MB / 0.4887 GB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.1146, allocations: 147.9 kB / 0.4888 GB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1146, allocations: 0 / 0.4888 GB, free: 8.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.1147, allocations: 75.91 kB / 0.4889 GB, free: 8.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.1152, allocations: 44.56 kB / 0.4889 GB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.1204, allocations: 3.127 MB / 0.492 GB, free: 4.973 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.1208, allocations: 0.7795 MB / 0.4928 GB, free: 4.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001408/0.121, allocations: 50.39 kB / 0.4928 GB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.1211, allocations: 87.41 kB / 0.4929 GB, free: 4.027 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1211, allocations: 0 / 0.4929 GB, free: 4.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02494/0.1461, allocations: 4.916 MB / 0.4977 GB, free: 15.18 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/7.893, allocations: 17.92 kB / 0.4977 GB, free: 15.17 MB / 382.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)