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.001242/0.001242, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001359/0.001359, allocations: 216 kB / 22.26 MB, free: 5.125 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.377/1.377, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC main/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 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 main/package.mo): time 0.004282/0.004282, allocations: 0.904 MB / 313.3 MB, free: 2.211 MB / 238.1 MB " [Timeout remaining time 180] Using package BidiDCDC with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 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.002009/0.002009, allocations: 63.89 kB / 435.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1102, allocations: 53.6 MB / 489.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002999/0.1132, allocations: 1.627 MB / 490.8 MB, free: 9.398 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1143, allocations: 0.526 MB / 491.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.1144, allocations: 7.938 kB / 491.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.1147, allocations: 19.86 kB / 491.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.1148, allocations: 35.78 kB / 491.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.115, allocations: 47.91 kB / 491.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.1152, allocations: 159.7 kB / 491.6 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1153, allocations: 23.92 kB / 491.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1155, allocations: 67.75 kB / 491.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001612/0.1156, allocations: 87.72 kB / 491.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.1157, allocations: 12 kB / 491.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.057e-05/0.1157, allocations: 8 kB / 491.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.525e-05/0.1158, allocations: 55.88 kB / 491.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.175e-05/0.1158, allocations: 59.59 kB / 491.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.116, allocations: 147.3 kB / 492.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.116, allocations: 0 / 492.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.116, allocations: 0 / 492.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.116, allocations: 3.984 kB / 492.1 MB, free: 8.145 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.001052/0.1171, allocations: 445.5 kB / 492.5 MB, free: 7.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1171, allocations: 8.031 kB / 492.5 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.1172, allocations: 38.75 kB / 492.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.1172, allocations: 20.8 kB / 492.6 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004569/0.1177, allocations: 190.3 kB / 492.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1177, allocations: 8.375 kB / 492.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.1177, allocations: 8.375 kB / 492.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.118, allocations: 132.9 kB / 492.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.118, allocations: 3.938 kB / 492.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.118, allocations: 8 kB / 492.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.118, allocations: 4 kB / 492.9 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.1183, allocations: 123.9 kB / 493.1 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.1192, allocations: 459.6 kB / 493.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.1194, allocations: 126.4 kB / 493.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1196, allocations: 72.81 kB / 493.7 MB, free: 6.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1196, allocations: 3.984 kB / 493.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/0.1196, allocations: 38.56 kB / 493.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.1196, allocations: 0 / 493.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005785/0.1202, allocations: 253.5 kB / 494 MB, free: 6.105 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.1203, allocations: 55.41 kB / 494.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.1206, allocations: 231.1 kB / 494.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1207, allocations: 25.7 kB / 494.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.1207, allocations: 108.1 kB / 494.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.1208, allocations: 47.78 kB / 494.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.637e-05/0.1209, allocations: 25.72 kB / 494.5 MB, free: 5.582 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.121, allocations: 330.8 kB / 494.8 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.1212, allocations: 71.95 kB / 494.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.1213, allocations: 79.94 kB / 495 MB, free: 5.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.1217, allocations: 160.8 kB / 495.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1217, allocations: 0 / 495.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003979/0.1221, allocations: 217 kB / 495.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1221, allocations: 4 kB / 495.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1221, allocations: 0 / 495.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1221, allocations: 8 kB / 495.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.1223, allocations: 23.98 kB / 495.4 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1223, allocations: 4 kB / 495.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001858/0.1225, allocations: 35.84 kB / 495.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1225, allocations: 4 kB / 495.4 MB, free: 4.648 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.0001224/0.1226, allocations: 133.7 kB / 495.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.1227, allocations: 15.91 kB / 495.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/0.1227, allocations: 29.41 kB / 495.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1227, allocations: 4 kB / 495.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1227, allocations: 0 / 495.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1227, allocations: 7.922 kB / 495.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.123, allocations: 224.6 kB / 495.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.123, allocations: 0 / 495.8 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.1232, allocations: 23.98 kB / 495.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1232, allocations: 0 / 495.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.1232, allocations: 7.984 kB / 495.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1232, allocations: 3.938 kB / 495.8 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.1232, allocations: 8 kB / 495.8 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006067/0.1238, allocations: 375.1 kB / 496.2 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.1239, allocations: 11.91 kB / 496.2 MB, free: 3.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1239, allocations: 7.938 kB / 496.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1241, allocations: 32 kB / 496.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.1241, allocations: 7.984 kB / 496.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.1242, allocations: 4 kB / 496.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003126/0.1245, allocations: 172.4 kB / 496.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1245, allocations: 0 / 496.4 MB, free: 3.531 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.1247, allocations: 35.88 kB / 496.5 MB, free: 3.496 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.0009033/0.1256, allocations: 0.9002 MB / 497.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.126, allocations: 159.9 kB / 497.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.126, allocations: 0 / 497.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.1262, allocations: 79.89 kB / 497.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1265, allocations: 23.98 kB / 497.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.1299, allocations: 2.246 MB / 499.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.1303, allocations: 0.7275 MB / 0.4889 GB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001047/0.1304, allocations: 36.94 kB / 0.4889 GB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.5e-05/0.1305, allocations: 43.42 kB / 0.489 GB, free: 15.14 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1305, allocations: 0 / 0.489 GB, free: 15.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02998/0.1605, allocations: 3.637 MB / 0.4925 GB, free: 11.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.18, allocations: 3.938 kB / 0.4925 GB, free: 11.63 MB / 366.1 MB " [Timeout remaining time 649] (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: 14.107651744998293] Failed to read output from testmodel.py, exit status != 0: 11.274400939997577 11.433177502 11.314044449 Calling exit ...