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.00155/0.00155, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001434/0.001434, allocations: 220.1 kB / 22.99 MB, free: 4.914 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.004332/0.004332, allocations: 0.8919 MB / 314.1 MB, free: 2.008 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: 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.002094/0.002094, allocations: 67.89 kB / 436.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.104, allocations: 53.6 MB / 490.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.003116/0.1072, allocations: 1.6 MB / 492 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001028/0.1082, allocations: 494.8 kB / 492.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1082, allocations: 0 / 492.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.1085, allocations: 27.8 kB / 492.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.1087, allocations: 35.84 kB / 492.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001804/0.1088, allocations: 55.84 kB / 492.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1091, allocations: 147.7 kB / 492.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1092, allocations: 23.88 kB / 492.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1093, allocations: 59.86 kB / 492.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1095, allocations: 83.66 kB / 492.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.1095, allocations: 12 kB / 492.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.723e-05/0.1095, allocations: 12 kB / 492.9 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.1096, allocations: 59.81 kB / 493 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.171e-05/0.1097, allocations: 55.7 kB / 493 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.1099, allocations: 147.3 kB / 493.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.1099, allocations: 4 kB / 493.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1099, allocations: 0 / 493.2 MB, free: 7.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1099, allocations: 0 / 493.2 MB, free: 7.492 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.001111/0.111, allocations: 441.5 kB / 493.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.1111, allocations: 12.03 kB / 493.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.943e-05/0.1111, allocations: 20.8 kB / 493.7 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005254/0.1116, allocations: 198.2 kB / 493.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1117, allocations: 8.312 kB / 493.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.1117, allocations: 8.375 kB / 493.9 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.112, allocations: 132.8 kB / 494 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.112, allocations: 4 kB / 494 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.112, allocations: 0 / 494 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.112, allocations: 0 / 494 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.1123, allocations: 127.8 kB / 494.1 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008895/0.1132, allocations: 404.2 kB / 494.5 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.1135, allocations: 114.5 kB / 494.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000175/0.1136, allocations: 84.73 kB / 494.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1136, allocations: 0 / 494.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1137, allocations: 30.56 kB / 494.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.1137, allocations: 0 / 494.7 MB, free: 5.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006074/0.1143, allocations: 257.6 kB / 495 MB, free: 5.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.1143, allocations: 51.41 kB / 495 MB, free: 5.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/0.1147, allocations: 227.1 kB / 495.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1148, allocations: 29.7 kB / 495.3 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.1149, allocations: 112.1 kB / 495.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.1149, allocations: 43.77 kB / 495.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.115, allocations: 33.72 kB / 495.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.1152, allocations: 330.8 kB / 495.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1154, allocations: 75.88 kB / 495.9 MB, free: 4.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.1156, allocations: 79.94 kB / 496 MB, free: 4.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003304/0.1159, allocations: 162.9 kB / 496.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1159, allocations: 0 / 496.1 MB, free: 4.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004276/0.1163, allocations: 217.5 kB / 496.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1163, allocations: 4 kB / 496.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1163, allocations: 0 / 496.3 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.1164, allocations: 4 kB / 496.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.1165, allocations: 27.92 kB / 496.4 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.1165, allocations: 4 kB / 496.4 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.1167, allocations: 31.84 kB / 496.4 MB, free: 4.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1167, allocations: 4 kB / 496.4 MB, free: 4.109 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.0001299/0.1169, allocations: 137.8 kB / 496.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.1169, allocations: 23.78 kB / 496.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.117, allocations: 21.41 kB / 496.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.117, allocations: 4 kB / 496.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.117, allocations: 0 / 496.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.117, allocations: 3.984 kB / 496.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.1172, allocations: 177.2 kB / 496.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1172, allocations: 0 / 496.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.1174, allocations: 27.92 kB / 496.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1174, allocations: 4 kB / 496.8 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.1174, allocations: 3.984 kB / 496.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1174, allocations: 4 kB / 496.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1174, allocations: 0 / 496.8 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006365/0.1181, allocations: 375.1 kB / 497.2 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.1181, allocations: 19.91 kB / 497.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1181, allocations: 0 / 497.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.1183, allocations: 28 kB / 497.2 MB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.211e-05/0.1184, allocations: 11.98 kB / 497.2 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1184, allocations: 4 kB / 497.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003281/0.1187, allocations: 172.4 kB / 497.4 MB, free: 3.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1187, allocations: 3.938 kB / 497.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.119, allocations: 27.94 kB / 497.4 MB, free: 3.023 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 9.694e-05/0.1191, allocations: 95.33 kB / 497.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003872/0.1195, allocations: 162.3 kB / 497.7 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1195, allocations: 0 / 497.7 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.1196, allocations: 79.88 kB / 497.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.12, allocations: 24.69 kB / 497.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007531/0.1207, allocations: 406.1 kB / 498.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001343/0.1209, allocations: 118.1 kB / 498.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.361e-05/0.1209, allocations: 11.44 kB / 498.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1209, allocations: 3.938 kB / 498.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Templates: time 0.004151/0.1251, allocations: 2.035 MB / 0.4886 GB, free: 48 kB / 350.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 -lv LOG_STATS > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.027502765879035] Failed to read output from testmodel.py, exit status != 0: 0.13231885386630893 0.147919234 0.034965329 Calling exit ...