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.001801/0.001801, allocations: 79.73 kB / 19.76 MB, free: 1.875 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.00218/0.00218, allocations: 156.2 kB / 23.01 MB, free: 4.598 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.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.004272/0.004272, allocations: 0.6557 MB / 260.4 MB, free: 20 kB / 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: translateModel(BidiDCDC.Examples.TransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="BidiDCDC_BidiDCDC.Examples.TransferFunction") translateModel(BidiDCDC.Examples.TransferFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="BidiDCDC_BidiDCDC.Examples.TransferFunction") [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.002065/0.002065, allocations: 67.89 kB / 383.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09364, allocations: 53.56 MB / 436.7 MB, free: 15.43 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002879/0.09652, allocations: 1.61 MB / 438.3 MB, free: 13.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.09747, allocations: 0.4948 MB / 438.8 MB, free: 13.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.221e-05/0.09753, allocations: 4 kB / 438.8 MB, free: 13.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002466/0.09778, allocations: 31.78 kB / 438.8 MB, free: 13.27 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.09792, allocations: 31.84 kB / 438.9 MB, free: 13.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.0981, allocations: 51.86 kB / 438.9 MB, free: 13.19 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002606/0.09836, allocations: 147.7 kB / 439.1 MB, free: 13.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.09847, allocations: 19.98 kB / 439.1 MB, free: 13.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.09859, allocations: 59.81 kB / 439.1 MB, free: 12.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.09875, allocations: 83.7 kB / 439.2 MB, free: 12.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.09878, allocations: 12 kB / 439.2 MB, free: 12.88 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.699e-05/0.09881, allocations: 16 kB / 439.3 MB, free: 12.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.006e-05/0.0989, allocations: 51.83 kB / 439.3 MB, free: 12.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.09898, allocations: 55.7 kB / 439.4 MB, free: 12.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001867/0.09916, allocations: 139.4 kB / 439.5 MB, free: 12.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.09917, allocations: 0 / 439.5 MB, free: 12.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.09917, allocations: 0 / 439.5 MB, free: 12.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.09918, allocations: 4 kB / 439.5 MB, free: 12.61 MB / 414.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.001068/0.1002, allocations: 449.4 kB / 439.9 MB, free: 12.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.1003, allocations: 12.03 kB / 439.9 MB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.1003, allocations: 12.84 kB / 440 MB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.1008, allocations: 206.1 kB / 440.2 MB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.1008, allocations: 8.375 kB / 440.2 MB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.1009, allocations: 8.375 kB / 440.2 MB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1011, allocations: 121.9 kB / 440.3 MB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1011, allocations: 0 / 440.3 MB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1011, allocations: 3.984 kB / 440.3 MB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1012, allocations: 4 kB / 440.3 MB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.1015, allocations: 131.8 kB / 440.4 MB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.1023, allocations: 400.2 kB / 440.8 MB, free: 11.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002528/0.1026, allocations: 118.5 kB / 440.9 MB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1027, allocations: 72.81 kB / 441 MB, free: 11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1028, allocations: 11.94 kB / 441 MB, free: 10.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.1028, allocations: 34.55 kB / 441.1 MB, free: 10.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.1028, allocations: 0 / 441.1 MB, free: 10.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005941/0.1034, allocations: 257.5 kB / 441.3 MB, free: 10.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.1034, allocations: 51.41 kB / 441.4 MB, free: 10.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004145/0.1038, allocations: 227.6 kB / 441.6 MB, free: 10.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.1039, allocations: 33.7 kB / 441.6 MB, free: 10.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.1039, allocations: 116.1 kB / 441.7 MB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.104, allocations: 47.75 kB / 441.8 MB, free: 10.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/0.104, allocations: 33.7 kB / 441.8 MB, free: 10.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1042, allocations: 330.8 kB / 442.1 MB, free: 9.812 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1044, allocations: 71.94 kB / 442.2 MB, free: 9.742 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.1045, allocations: 79.88 kB / 442.3 MB, free: 9.664 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.1049, allocations: 168.8 kB / 442.4 MB, free: 9.496 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1049, allocations: 3.938 kB / 442.4 MB, free: 9.492 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004202/0.1053, allocations: 217.1 kB / 442.7 MB, free: 9.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1053, allocations: 4 kB / 442.7 MB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.1053, allocations: 0 / 442.7 MB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1053, allocations: 0 / 442.7 MB, free: 9.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1055, allocations: 35.91 kB / 442.7 MB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.1055, allocations: 0 / 442.7 MB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1057, allocations: 31.91 kB / 442.7 MB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1057, allocations: 0 / 442.7 MB, free: 9.207 MB / 414.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.0001254/0.1058, allocations: 137.8 kB / 442.9 MB, free: 9.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.1059, allocations: 15.91 kB / 442.9 MB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.062e-05/0.106, allocations: 25.45 kB / 442.9 MB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.106, allocations: 0 / 442.9 MB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.106, allocations: 4 kB / 442.9 MB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.106, allocations: 0 / 442.9 MB, free: 9.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.1062, allocations: 177.2 kB / 443.1 MB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1062, allocations: 8 kB / 443.1 MB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.1064, allocations: 31.91 kB / 443.1 MB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1064, allocations: 0 / 443.1 MB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.1064, allocations: 0 / 443.1 MB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1064, allocations: 0 / 443.1 MB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1064, allocations: 0 / 443.1 MB, free: 8.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.107, allocations: 375.2 kB / 443.5 MB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.1071, allocations: 27.88 kB / 443.5 MB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1071, allocations: 4 kB / 443.5 MB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.1073, allocations: 19.97 kB / 443.5 MB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.1074, allocations: 11.98 kB / 443.5 MB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.1074, allocations: 4 kB / 443.6 MB, free: 8.332 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003329/0.1077, allocations: 172.4 kB / 443.7 MB, free: 8.164 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1077, allocations: 0 / 443.7 MB, free: 8.164 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.108, allocations: 28 kB / 443.7 MB, free: 8.137 MB / 414.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 9.984e-05/0.1081, allocations: 95.19 kB / 443.8 MB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003833/0.1084, allocations: 155.9 kB / 444 MB, free: 7.879 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1084, allocations: 3.938 kB / 444 MB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001726/0.1086, allocations: 75.89 kB / 444.1 MB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.1089, allocations: 27.86 kB / 444.1 MB, free: 7.773 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.1096, allocations: 372.6 kB / 444.5 MB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.1097, allocations: 114.2 kB / 444.6 MB, free: 7.254 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1098, allocations: 37.02 kB / 444.6 MB, free: 7.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.1099, allocations: 16.5 kB / 444.6 MB, free: 7.199 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1099, allocations: 0 / 444.6 MB, free: 7.199 MB / 414.1 MB Notification: Performance of Templates: time 0.004661/0.1146, allocations: 1.587 MB / 446.2 MB, free: 5.629 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f BidiDCDC_BidiDCDC.Examples.TransferFunction.makefile [Timeout 660] (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 & ./BidiDCDC_BidiDCDC.Examples.TransferFunction -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.197801172034815] Failed to read output from testmodel.py, exit status != 0: 0.12323917809408158 0.137761085 0.03557923 Calling exit ...