Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BidiDCDC_BidiDCDC.Examples.TransferFunction.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/BidiDCDC 1.0.0-main/package.mo", uses=false) Using package BidiDCDC with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-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(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BidiDCDC.Examples.TransferFunction,fileNamePrefix="BidiDCDC_BidiDCDC_Examples_TransferFunction",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.008331/0.008331, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001945/0.001945, allocations: 196.1 kB / 16.68 MB, free: 5.973 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: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo:2:1-29:13:writable] Warning: Types was referenced in the package.order file, but was not found in package.mo, Types/package.mo or Types.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo): time 0.00426/0.00426, allocations: 0.8904 MB / 291.4 MB, free: 13.87 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002916/0.002917, allocations: 59.91 kB / 402.3 MB, free: 32.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09578/0.09872, allocations: 49.66 MB / 452 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002977/0.1017, allocations: 1.606 MB / 453.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00096/0.1027, allocations: 490.7 kB / 454.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1028, allocations: 0 / 454.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.1031, allocations: 27.83 kB / 454.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1033, allocations: 35.8 kB / 454.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001615/0.1035, allocations: 43.92 kB / 454.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.1037, allocations: 135.7 kB / 454.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1039, allocations: 24.16 kB / 454.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.104, allocations: 51.83 kB / 454.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.1042, allocations: 87.7 kB / 454.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.079e-05/0.1042, allocations: 16 kB / 454.5 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.567e-05/0.1043, allocations: 8 kB / 454.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1044, allocations: 59.81 kB / 454.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.1045, allocations: 59.66 kB / 454.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1047, allocations: 143.3 kB / 454.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.1047, allocations: 7.984 kB / 454.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1047, allocations: 0 / 454.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1047, allocations: 0 / 454.8 MB, free: 11.81 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001132/0.1059, allocations: 0.5103 MB / 455.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1059, allocations: 12.03 kB / 455.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.106, allocations: 34.75 kB / 455.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.1061, allocations: 20.78 kB / 455.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.1065, allocations: 260 kB / 455.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1066, allocations: 4.375 kB / 455.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.1066, allocations: 8.375 kB / 455.6 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.1069, allocations: 133.6 kB / 455.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.1069, allocations: 3.953 kB / 455.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1069, allocations: 0 / 455.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1069, allocations: 0 / 455.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.1072, allocations: 127.9 kB / 455.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/0.1081, allocations: 484.5 kB / 456.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1084, allocations: 122.5 kB / 456.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.1086, allocations: 76.8 kB / 456.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1086, allocations: 4 kB / 456.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1087, allocations: 30.56 kB / 456.6 MB, free: 9.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.1087, allocations: 4 kB / 456.6 MB, free: 9.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006008/0.1093, allocations: 257.5 kB / 456.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.1093, allocations: 51.41 kB / 456.9 MB, free: 9.508 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.1097, allocations: 223.3 kB / 457.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/0.1097, allocations: 33.7 kB / 457.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.1098, allocations: 116.2 kB / 457.2 MB, free: 9.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.174e-05/0.1099, allocations: 39.64 kB / 457.3 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.954e-05/0.11, allocations: 29.72 kB / 457.3 MB, free: 9.051 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1101, allocations: 330.8 kB / 457.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001601/0.1103, allocations: 71.94 kB / 457.7 MB, free: 8.648 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.1104, allocations: 75.94 kB / 457.8 MB, free: 8.574 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.1107, allocations: 168.6 kB / 457.9 MB, free: 8.41 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.1108, allocations: 4 kB / 457.9 MB, free: 8.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003965/0.1112, allocations: 209.4 kB / 458.2 MB, free: 8.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1112, allocations: 11.94 kB / 458.2 MB, free: 8.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.1112, allocations: 3.984 kB / 458.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1112, allocations: 3.938 kB / 458.2 MB, free: 8.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.1114, allocations: 31.98 kB / 458.2 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1114, allocations: 0 / 458.2 MB, free: 8.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.1116, allocations: 23.92 kB / 458.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.1116, allocations: 11.98 kB / 458.2 MB, free: 8.109 MB / 334.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 (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 prepare postOptimizeDAE: time 0.0001175/0.1118, allocations: 138.4 kB / 458.4 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.1118, allocations: 15.89 kB / 458.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.1119, allocations: 25.41 kB / 458.4 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.1119, allocations: 4 kB / 458.4 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1119, allocations: 0 / 458.4 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.1119, allocations: 0 / 458.4 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.1122, allocations: 261.4 kB / 458.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1122, allocations: 0 / 458.7 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.1124, allocations: 27.98 kB / 458.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1124, allocations: 0 / 458.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1124, allocations: 0 / 458.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1124, allocations: 4 kB / 458.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1124, allocations: 0 / 458.7 MB, free: 7.578 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.1131, allocations: 383.1 kB / 459.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1131, allocations: 89.02 kB / 459.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.1132, allocations: 8 kB / 459.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.1134, allocations: 19.97 kB / 459.2 MB, free: 7.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.1134, allocations: 15.98 kB / 459.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1135, allocations: 4 kB / 459.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003187/0.1138, allocations: 175.2 kB / 459.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1138, allocations: 4 kB / 459.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.114, allocations: 31.89 kB / 459.4 MB, free: 6.828 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (transferFunction.x_scaled[1],transferFunction.x_scaled[2],transferFunction.x_scaled[3]) * 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 (11): * Single equations (assignments): 11 * 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.0008905/0.1149, allocations: 0.9035 MB / 460.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.1153, allocations: 156.5 kB / 460.5 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1153, allocations: 0 / 460.5 MB, free: 5.746 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1155, allocations: 87.88 kB / 460.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1158, allocations: 16.22 kB / 460.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.1191, allocations: 2.25 MB / 462.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.1195, allocations: 0.7275 MB / 463.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1196, allocations: 36.86 kB / 463.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.259e-05/0.1197, allocations: 39.42 kB / 463.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1197, allocations: 3.938 kB / 463.6 MB, free: 2.465 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.1445, allocations: 3.412 MB / 467 MB, free: 15.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/7.824, allocations: 19.36 kB / 467.1 MB, free: 15.11 MB / 350.1 MB (rm -f BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe ; mkfifo BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe ; head -c 1048576 < BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe >> ../files/BidiDCDC_BidiDCDC.Examples.TransferFunction.sim & python3 -m fmpy simulate --output-file BidiDCDC_BidiDCDC.Examples.TransferFunction_res.csv --start-time 0 --stop-time 0.04 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2e-06 BidiDCDC_BidiDCDC_Examples_TransferFunction.fmu > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1)