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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 106.1 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.004224/0.004224, allocations: 0.8891 MB / 303.6 MB, free: 8.902 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 67.91 kB / 421.9 MB, free: 24.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.08747, allocations: 52.37 MB / 474.3 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002713/0.09018, allocations: 1.611 MB / 475.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008371/0.09102, allocations: 498.8 kB / 476.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.409e-05/0.09108, allocations: 3.938 kB / 476.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.09135, allocations: 31.78 kB / 476.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001328/0.09148, allocations: 31.84 kB / 476.5 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.09162, allocations: 35.94 kB / 476.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.09181, allocations: 139.6 kB / 476.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.09192, allocations: 19.94 kB / 476.7 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.539e-05/0.09202, allocations: 59.8 kB / 476.7 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.09217, allocations: 83.78 kB / 476.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.0922, allocations: 12 kB / 476.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.286e-05/0.09222, allocations: 12 kB / 476.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.218e-05/0.09231, allocations: 59.8 kB / 476.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.097e-05/0.09238, allocations: 67.53 kB / 476.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.09257, allocations: 131.5 kB / 477.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.09257, allocations: 0 / 477.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.846e-06/0.09257, allocations: 3.984 kB / 477.1 MB, free: 1.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.09258, allocations: 0 / 477.1 MB, free: 1.695 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.001076/0.09366, allocations: 0.5181 MB / 477.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.09369, allocations: 8.031 kB / 477.6 MB, free: 1.121 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.838e-05/0.09374, allocations: 42.69 kB / 477.6 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.09378, allocations: 20.84 kB / 477.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.09425, allocations: 263.9 kB / 477.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.09426, allocations: 4.375 kB / 477.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.0943, allocations: 8.375 kB / 477.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.09455, allocations: 121.7 kB / 478 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.09457, allocations: 3.953 kB / 478.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.09458, allocations: 8 kB / 478.1 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.09459, allocations: 4 kB / 478.1 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.09488, allocations: 119.9 kB / 478.2 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.09578, allocations: 492.4 kB / 478.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.09602, allocations: 122.4 kB / 478.8 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.09617, allocations: 76.8 kB / 478.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.09618, allocations: 4 kB / 478.9 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.09622, allocations: 42.5 kB / 478.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.09622, allocations: 0 / 478.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005726/0.09679, allocations: 245.5 kB / 479.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.09683, allocations: 55.41 kB / 479.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003848/0.09722, allocations: 223.3 kB / 479.4 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.09725, allocations: 29.7 kB / 479.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.09733, allocations: 112.3 kB / 479.6 MB, free: 15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.09738, allocations: 43.78 kB / 479.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.228e-05/0.09744, allocations: 37.64 kB / 479.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.0976, allocations: 326.8 kB / 480 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.09776, allocations: 71.94 kB / 480 MB, free: 14.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.09791, allocations: 75.94 kB / 480.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.09822, allocations: 170.8 kB / 480.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.09822, allocations: 0 / 480.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003846/0.0986, allocations: 205.5 kB / 480.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.09862, allocations: 11.28 kB / 480.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.09863, allocations: 3.984 kB / 480.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.09864, allocations: 0 / 480.5 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.09881, allocations: 31.98 kB / 480.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.09882, allocations: 3.938 kB / 480.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.099, allocations: 31.86 kB / 480.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.09901, allocations: 4 kB / 480.5 MB, free: 13.99 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.0001239/0.09914, allocations: 137.7 kB / 480.7 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.09918, allocations: 15.89 kB / 480.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.09925, allocations: 33.41 kB / 480.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.09925, allocations: 0 / 480.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.09925, allocations: 0 / 480.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.09925, allocations: 0 / 480.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003052/0.09956, allocations: 257.4 kB / 481 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.09956, allocations: 0 / 481 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.09973, allocations: 23.98 kB / 481 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.09973, allocations: 0 / 481 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.09975, allocations: 7.984 kB / 481 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.09976, allocations: 7.938 kB / 481 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.09976, allocations: 0 / 481 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/0.1003, allocations: 381.3 kB / 481.4 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.681e-05/0.1004, allocations: 93 kB / 481.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.1005, allocations: 4 kB / 481.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1007, allocations: 23.97 kB / 481.5 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1007, allocations: 11.98 kB / 481.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.1007, allocations: 4 kB / 481.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003058/0.101, allocations: 175.2 kB / 481.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.101, allocations: 0 / 481.7 MB, free: 12.74 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1013, allocations: 39.83 kB / 481.7 MB, free: 12.7 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.0008964/0.1022, allocations: 0.9036 MB / 482.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.1025, allocations: 151.8 kB / 482.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1025, allocations: 0 / 482.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.1027, allocations: 88.53 kB / 482.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.103, allocations: 23.38 kB / 482.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/0.1062, allocations: 2.246 MB / 485.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1065, allocations: 0.7236 MB / 485.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1066, allocations: 36.86 kB / 485.9 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.578e-05/0.1067, allocations: 43.42 kB / 485.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1067, allocations: 0 / 485.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02536/0.1321, allocations: 3.435 MB / 489.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/7.691, allocations: 10.53 kB / 489.4 MB, free: 4.969 MB / 350.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BidiDCDC_BidiDCDC_Examples_TransferFunction_fmu --startTime=0 --stopTime=0.04 --stepSize=2e-06 --timeout=50 --tolerance=1e-06 BidiDCDC_BidiDCDC_Examples_TransferFunction.fmu > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.086033180821687] Failed to read output from testmodel.py, exit status != 0: 7.771049276925623 7.793341506 7.696983701 Calling exit ...