Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_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.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_TITO_rational_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_TITO_rational_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_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.005286/0.005286, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001195/0.001195, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1988/0.1988, allocations: 22.36 MB / 312.9 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 60.31 kB / 434.5 MB, free: 35.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.08614, allocations: 54.95 MB / 489.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_TITO_rational_zeroInit): time 0.001884/0.08806, allocations: 1.234 MB / 490.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.08918, allocations: 1.35 MB / 492 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.843e-05/0.08928, allocations: 4 kB / 492 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.08957, allocations: 75.55 kB / 492.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.08977, allocations: 91.53 kB / 492.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002141/0.09, allocations: 159.8 kB / 492.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.09031, allocations: 0.5226 MB / 492.9 MB, free: 404 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.09044, allocations: 60.92 kB / 492.9 MB, free: 336 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.09059, allocations: 195.4 kB / 493.1 MB, free: 140 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.09081, allocations: 183.3 kB / 493.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.09086, allocations: 28 kB / 493.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.703e-05/0.0909, allocations: 28 kB / 493.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.09104, allocations: 111.6 kB / 493.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.09115, allocations: 115.3 kB / 493.6 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.09144, allocations: 310.7 kB / 493.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09145, allocations: 0 / 493.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09146, allocations: 3.938 kB / 493.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.09147, allocations: 4 kB / 493.9 MB, free: 15.37 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001575/0.09305, allocations: 0.7128 MB / 494.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.09309, allocations: 12.03 kB / 494.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.456e-05/0.09315, allocations: 50.73 kB / 494.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.355e-05/0.09321, allocations: 28.75 kB / 494.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008884/0.09411, allocations: 447.5 kB / 495.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.09413, allocations: 8.609 kB / 495.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.09417, allocations: 12.38 kB / 495.1 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002821/0.09446, allocations: 167.3 kB / 495.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.09447, allocations: 0 / 495.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.0945, allocations: 8 kB / 495.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.09451, allocations: 4 kB / 495.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.09484, allocations: 180.6 kB / 495.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000994/0.09584, allocations: 0.6652 MB / 496.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.09622, allocations: 250.7 kB / 496.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.09638, allocations: 96.81 kB / 496.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.09641, allocations: 3.984 kB / 496.5 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.09644, allocations: 42.44 kB / 496.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.09644, allocations: 0 / 496.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005582/0.097, allocations: 313.2 kB / 496.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.09705, allocations: 55.41 kB / 496.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/0.09791, allocations: 442.8 kB / 497.3 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.09794, allocations: 29.7 kB / 497.4 MB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.09804, allocations: 156.5 kB / 497.5 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.937e-05/0.09811, allocations: 59.48 kB / 497.6 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.056e-05/0.09818, allocations: 33.7 kB / 497.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.09829, allocations: 338.8 kB / 497.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.09845, allocations: 83.95 kB / 498 MB, free: 11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.0986, allocations: 93.61 kB / 498.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.09891, allocations: 193.8 kB / 498.3 MB, free: 10.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.09893, allocations: 8 kB / 498.3 MB, free: 10.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003927/0.09932, allocations: 258.5 kB / 498.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.09935, allocations: 6.5 kB / 498.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.09936, allocations: 3.938 kB / 498.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.09938, allocations: 0 / 498.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.09971, allocations: 55.91 kB / 498.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.09973, allocations: 7.984 kB / 498.6 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003372/0.1001, allocations: 55.83 kB / 498.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.1001, allocations: 4 kB / 498.7 MB, free: 10.33 MB / 366.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 (20): * Single equations (assignments): 20 * 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.0001299/0.1002, allocations: 158.5 kB / 498.8 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.567e-05/0.1003, allocations: 27.81 kB / 498.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.508e-05/0.1004, allocations: 46.23 kB / 498.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1004, allocations: 0 / 498.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1004, allocations: 3.938 kB / 498.9 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1004, allocations: 4 kB / 498.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.1009, allocations: 349.4 kB / 499.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1009, allocations: 0 / 499.3 MB, free: 9.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.1012, allocations: 27.98 kB / 499.3 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.1012, allocations: 4 kB / 499.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.1012, allocations: 3.938 kB / 499.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1012, allocations: 0 / 499.3 MB, free: 9.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/0.1012, allocations: 4 kB / 499.3 MB, free: 9.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.1019, allocations: 453.2 kB / 499.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.545e-05/0.102, allocations: 113 kB / 499.8 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.1021, allocations: 11.94 kB / 499.9 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.1024, allocations: 47.92 kB / 499.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/0.1025, allocations: 11.92 kB / 499.9 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.1025, allocations: 8 kB / 499.9 MB, free: 8.988 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007221/0.1032, allocations: 341.8 kB / 0.4885 GB, free: 8.656 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1032, allocations: 7.938 kB / 0.4885 GB, free: 8.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1035, allocations: 43.89 kB / 0.4886 GB, free: 8.605 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.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 (16): * Single equations (assignments): 16 * 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.0008262/0.1043, allocations: 0.9776 MB / 0.4895 GB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.1047, allocations: 196.4 kB / 0.4897 GB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1047, allocations: 4 kB / 0.4897 GB, free: 7.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.1049, allocations: 98.42 kB / 0.4898 GB, free: 7.312 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1053, allocations: 45.77 kB / 0.4899 GB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005213/0.1105, allocations: 3.268 MB / 0.4931 GB, free: 3.918 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.1109, allocations: 0.787 MB / 0.4938 GB, free: 3.102 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.111, allocations: 58.25 kB / 0.4939 GB, free: 3.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.1112, allocations: 91.41 kB / 0.494 GB, free: 2.957 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1112, allocations: 0 / 0.494 GB, free: 2.957 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0218/0.133, allocations: 5.297 MB / 0.4991 GB, free: 13.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/7.765, allocations: 19.28 kB / 0.4992 GB, free: 13.71 MB / 382.1 MB (rm -f AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_TITO_rational_zeroInit_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.05 AES_AES_Devel_test_models_Test_TITO_rational_zeroInit.fmu > AES_AES.Devel_test_models.Test_TITO_rational_zeroInit.pipe 2>&1)