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.0007419/0.0007419, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001065/0.001065, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8496/0.8496, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.002554/0.002554, allocations: 0.6551 MB / 259.8 MB, free: 12.59 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 382.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.938e-05, allocations: 2.281 kB / 382.1 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002256/0.002275, allocations: 1.596 MB / 383.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007855/0.00306, allocations: 0.4948 MB / 384.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.004e-05/0.003141, allocations: 0 / 384.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.003429, allocations: 23.86 kB / 384.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001169/0.003546, allocations: 31.72 kB / 384.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.003714, allocations: 75.81 kB / 384.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.00384, allocations: 95.73 kB / 384.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.608e-05/0.003937, allocations: 15.98 kB / 384.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.592e-05/0.004022, allocations: 67.8 kB / 384.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.004128, allocations: 75.83 kB / 384.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.004155, allocations: 12 kB / 384.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.004169, allocations: 8 kB / 384.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.004237, allocations: 59.83 kB / 384.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.004279, allocations: 35.89 kB / 384.7 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.004445, allocations: 147.5 kB / 384.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.004449, allocations: 4 kB / 384.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.00445, allocations: 0 / 384.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.004455, allocations: 0 / 384.9 MB, free: 12.99 MB / 362.7 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.0007462/0.005202, allocations: 453.4 kB / 385.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.005244, allocations: 8.031 kB / 385.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.005279, allocations: 42.73 kB / 385.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.005315, allocations: 12.84 kB / 385.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.005608, allocations: 209.3 kB / 385.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.005618, allocations: 4.375 kB / 385.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.00564, allocations: 8.375 kB / 385.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.00581, allocations: 121.3 kB / 385.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.00582, allocations: 192 / 385.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.005833, allocations: 8.125 kB / 385.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.005837, allocations: 4 kB / 385.7 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.006021, allocations: 119.9 kB / 385.8 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.006577, allocations: 443.6 kB / 386.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.006728, allocations: 114.5 kB / 386.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.861e-05/0.006816, allocations: 72.81 kB / 386.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.006829, allocations: 0 / 386.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.00685, allocations: 42.77 kB / 386.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.312e-06/0.006851, allocations: 3.938 kB / 386.5 MB, free: 11.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003529/0.007204, allocations: 249.4 kB / 386.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.007233, allocations: 55.41 kB / 386.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.007446, allocations: 223.8 kB / 387 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.007461, allocations: 29.7 kB / 387 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.007518, allocations: 116.1 kB / 387.2 MB, free: 10.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.007551, allocations: 35.83 kB / 387.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.007594, allocations: 41.7 kB / 387.2 MB, free: 10.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.143e-05/0.007675, allocations: 326.8 kB / 387.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.007778, allocations: 71.94 kB / 387.6 MB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.704e-05/0.007865, allocations: 75.94 kB / 387.7 MB, free: 9.973 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.008053, allocations: 167.8 kB / 387.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.008054, allocations: 0 / 387.9 MB, free: 9.809 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002354/0.00829, allocations: 217.4 kB / 388.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.008303, allocations: 8 kB / 388.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.008309, allocations: 0 / 388.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.00832, allocations: 0 / 388.1 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.008426, allocations: 31.97 kB / 388.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.008431, allocations: 0 / 388.1 MB, free: 9.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.008512, allocations: 23.91 kB / 388.1 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.008521, allocations: 16 kB / 388.2 MB, free: 9.512 MB / 362.7 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 7.86e-05/0.0086, allocations: 137.7 kB / 388.3 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.008621, allocations: 15.91 kB / 388.3 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.008661, allocations: 29.44 kB / 388.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.008663, allocations: 0 / 388.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.008668, allocations: 0 / 388.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.008671, allocations: 0 / 388.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.008845, allocations: 212.6 kB / 388.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.008845, allocations: 0 / 388.5 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.081e-05/0.008936, allocations: 31.92 kB / 388.6 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008938, allocations: 4 kB / 388.6 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.00895, allocations: 4 kB / 388.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.008951, allocations: 0 / 388.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.008954, allocations: 3.984 kB / 388.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.009313, allocations: 379.1 kB / 389 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.009335, allocations: 19.84 kB / 389 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.009352, allocations: 4 kB / 389 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.253e-05/0.009444, allocations: 28.02 kB / 389 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.009485, allocations: 7.984 kB / 389 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.00949, allocations: 3.984 kB / 389 MB, free: 8.578 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001513/0.009642, allocations: 172.4 kB / 389.2 MB, free: 8.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009642, allocations: 0 / 389.2 MB, free: 8.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.0098, allocations: 20 kB / 389.2 MB, free: 8.391 MB / 362.7 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.000516/0.01032, allocations: 0.9157 MB / 390.1 MB, free: 7.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.01079, allocations: 151.9 kB / 390.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01079, allocations: 0 / 390.3 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.01089, allocations: 79.94 kB / 390.3 MB, free: 7.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.0111, allocations: 22.91 kB / 390.4 MB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.013, allocations: 2.243 MB / 392.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.77e-05/0.01307, allocations: 114.2 kB / 392.7 MB, free: 4.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.01314, allocations: 36.94 kB / 392.8 MB, free: 4.691 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.01322, allocations: 48.48 kB / 392.8 MB, free: 4.645 MB / 362.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01322, allocations: 0 / 392.8 MB, free: 4.645 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.03086, allocations: 4.18 MB / 397 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.74/6.771, allocations: 11.66 kB / 397 MB, free: 0.5938 MB / 362.7 MB " [Timeout remaining time 653] (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 os._exit(0), Time elapsed: 8.494050181470811] Failed to read output from testmodel.py, exit status != 0: 6.843705042265356 6.850502461 6.844552316 Calling exit ...