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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 102.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002326/0.002326, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo", uses=false) [Timeout 180] "[/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.004641/0.004641, allocations: 0.8856 MB / 309.7 MB, free: 3.359 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BidiDCDC requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.91 kB / 430.4 MB, free: 18.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.09333, allocations: 53.56 MB / 484 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002849/0.09618, allocations: 1.631 MB / 485.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.09719, allocations: 0.5146 MB / 486.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.09727, allocations: 0 / 486.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.09754, allocations: 27.83 kB / 486.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.09767, allocations: 31.8 kB / 486.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.09782, allocations: 47.92 kB / 486.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.09807, allocations: 139.6 kB / 486.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.0982, allocations: 15.94 kB / 486.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.09832, allocations: 55.83 kB / 486.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.0985, allocations: 95.69 kB / 486.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.782e-05/0.09854, allocations: 8 kB / 486.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.527e-05/0.09857, allocations: 12 kB / 486.6 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.772e-05/0.09867, allocations: 51.88 kB / 486.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.09874, allocations: 55.61 kB / 486.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002399/0.09898, allocations: 155.3 kB / 486.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.09899, allocations: 0 / 486.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.09899, allocations: 0 / 486.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.099, allocations: 4 kB / 486.8 MB, free: 9.766 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001216/0.1002, allocations: 0.5065 MB / 487.3 MB, free: 9.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1003, allocations: 8.031 kB / 487.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.59e-05/0.1003, allocations: 38.75 kB / 487.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.1004, allocations: 20.8 kB / 487.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/0.1009, allocations: 256.9 kB / 487.7 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1009, allocations: 8.375 kB / 487.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.1009, allocations: 8.375 kB / 487.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1012, allocations: 125.7 kB / 487.8 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1012, allocations: 4 kB / 487.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1012, allocations: 3.938 kB / 487.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1012, allocations: 0 / 487.8 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003107/0.1015, allocations: 123.9 kB / 487.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009065/0.1024, allocations: 488.5 kB / 488.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.1027, allocations: 114.5 kB / 488.5 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1028, allocations: 84.8 kB / 488.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1029, allocations: 0 / 488.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1029, allocations: 30.56 kB / 488.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.1029, allocations: 0 / 488.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006129/0.1035, allocations: 269.4 kB / 488.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1035, allocations: 51.41 kB / 488.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004118/0.104, allocations: 222.3 kB / 489.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.458e-05/0.104, allocations: 29.7 kB / 489.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.537e-05/0.1041, allocations: 120.2 kB / 489.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.542e-05/0.1041, allocations: 35.66 kB / 489.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.578e-05/0.1042, allocations: 33.7 kB / 489.4 MB, free: 7.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1043, allocations: 334.8 kB / 489.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.1045, allocations: 71.94 kB / 489.8 MB, free: 6.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001687/0.1047, allocations: 79.94 kB / 489.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003187/0.105, allocations: 160.7 kB / 490 MB, free: 6.367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.105, allocations: 0 / 490 MB, free: 6.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004145/0.1054, allocations: 215.9 kB / 490.2 MB, free: 6.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1054, allocations: 4 kB / 490.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1054, allocations: 0 / 490.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1055, allocations: 0 / 490.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.1057, allocations: 31.97 kB / 490.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1057, allocations: 0 / 490.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1059, allocations: 31.86 kB / 490.3 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1059, allocations: 8 kB / 490.3 MB, free: 6.078 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 (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.0001205/0.106, allocations: 137.7 kB / 490.4 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.106, allocations: 15.91 kB / 490.4 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.312e-05/0.1061, allocations: 25.39 kB / 490.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1061, allocations: 0 / 490.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1061, allocations: 0 / 490.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1061, allocations: 0 / 490.5 MB, free: 5.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.1064, allocations: 257.4 kB / 490.7 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.1064, allocations: 4 kB / 490.7 MB, free: 5.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.1066, allocations: 35.97 kB / 490.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1066, allocations: 0 / 490.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.1066, allocations: 4 kB / 490.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1066, allocations: 0 / 490.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1066, allocations: 0 / 490.8 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.1073, allocations: 383.1 kB / 491.1 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.147e-05/0.1073, allocations: 97.05 kB / 491.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1074, allocations: 4 kB / 491.2 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.1076, allocations: 23.91 kB / 491.3 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.1076, allocations: 11.98 kB / 491.3 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1076, allocations: 4 kB / 491.3 MB, free: 4.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003389/0.108, allocations: 176.4 kB / 491.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.108, allocations: 0 / 491.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1082, allocations: 27.94 kB / 491.5 MB, free: 4.797 MB / 350.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.0009253/0.1092, allocations: 0.9035 MB / 492.4 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004182/0.1096, allocations: 167.8 kB / 492.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1096, allocations: 0 / 492.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.1097, allocations: 71.95 kB / 492.6 MB, free: 3.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1101, allocations: 23.2 kB / 492.6 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/0.1135, allocations: 2.245 MB / 494.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.1139, allocations: 0.7275 MB / 495.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.114, allocations: 36.84 kB / 495.6 MB, free: 496 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.348e-05/0.1141, allocations: 43.42 kB / 495.7 MB, free: 456 kB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1141, allocations: 0 / 495.7 MB, free: 456 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.141, allocations: 3.428 MB / 499.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.485/7.626, allocations: 15.47 kB / 499.1 MB, free: 13.07 MB / 366.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.395819118712097] Failed to read output from testmodel.py, exit status != 0: 7.690117886289954 7.706670181 7.604520886 Calling exit ...