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.001394/0.001394, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001716/0.001716, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.004765/0.004765, allocations: 0.8979 MB / 314.1 MB, free: 2.199 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.001967/0.001967, allocations: 71.83 kB / 436.9 MB, free: 16.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09487/0.09683, allocations: 53.59 MB / 490.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.003097/0.09993, allocations: 1.634 MB / 492.1 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.101, allocations: 0.5182 MB / 492.6 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.465e-05/0.1011, allocations: 7.938 kB / 492.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.1014, allocations: 27.84 kB / 492.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.1015, allocations: 35.78 kB / 492.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.1017, allocations: 43.92 kB / 492.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.102, allocations: 159.6 kB / 492.9 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1021, allocations: 19.94 kB / 492.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1022, allocations: 67.75 kB / 493 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1024, allocations: 87.7 kB / 493.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.1024, allocations: 12 kB / 493.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.428e-05/0.1024, allocations: 8 kB / 493.1 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.513e-05/0.1025, allocations: 59.88 kB / 493.1 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.146e-05/0.1026, allocations: 63.59 kB / 493.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1028, allocations: 147.3 kB / 493.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1028, allocations: 0 / 493.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1028, allocations: 0 / 493.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1028, allocations: 3.938 kB / 493.4 MB, free: 7.605 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.001152/0.104, allocations: 437.5 kB / 493.8 MB, free: 7.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.104, allocations: 20.02 kB / 493.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.1041, allocations: 20.8 kB / 493.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.1046, allocations: 194.2 kB / 494 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1046, allocations: 8.375 kB / 494 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.1046, allocations: 4.375 kB / 494 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.1049, allocations: 129.8 kB / 494.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.1049, allocations: 0 / 494.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.105, allocations: 12 kB / 494.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.105, allocations: 0 / 494.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.1053, allocations: 119.9 kB / 494.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009551/0.1062, allocations: 459.5 kB / 494.7 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002537/0.1065, allocations: 122.4 kB / 494.8 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.1066, allocations: 72.8 kB / 494.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.1067, allocations: 4 kB / 494.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.1067, allocations: 42.55 kB / 495 MB, free: 5.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.1067, allocations: 0 / 495 MB, free: 5.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006357/0.1073, allocations: 253.9 kB / 495.2 MB, free: 5.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.131e-05/0.1074, allocations: 55.34 kB / 495.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.1079, allocations: 227.2 kB / 495.5 MB, free: 5.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1079, allocations: 25.7 kB / 495.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.908e-05/0.108, allocations: 112.1 kB / 495.6 MB, free: 5.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.108, allocations: 43.77 kB / 495.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.27e-05/0.1081, allocations: 33.7 kB / 495.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1083, allocations: 330.8 kB / 496 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1085, allocations: 75.94 kB / 496.1 MB, free: 4.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1086, allocations: 82.19 kB / 496.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003224/0.1089, allocations: 152.8 kB / 496.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.1089, allocations: 4 kB / 496.3 MB, free: 4.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000405/0.1093, allocations: 209.5 kB / 496.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.1094, allocations: 11.94 kB / 496.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1094, allocations: 0 / 496.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1094, allocations: 4 kB / 496.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.1096, allocations: 31.97 kB / 496.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.1096, allocations: 0 / 496.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.1098, allocations: 31.86 kB / 496.6 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.1098, allocations: 4 kB / 496.6 MB, free: 4.156 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.0001297/0.1099, allocations: 133.8 kB / 496.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.11, allocations: 15.84 kB / 496.8 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.268e-05/0.1101, allocations: 33.39 kB / 496.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1101, allocations: 0 / 496.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.1101, allocations: 3.938 kB / 496.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1101, allocations: 0 / 496.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.1104, allocations: 228.5 kB / 497 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.1104, allocations: 0 / 497 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1105, allocations: 27.97 kB / 497 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1105, allocations: 0 / 497 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.1106, allocations: 4 kB / 497 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1106, allocations: 0 / 497 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1106, allocations: 4 kB / 497.1 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006246/0.1112, allocations: 378.9 kB / 497.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.1112, allocations: 23.89 kB / 497.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1113, allocations: 3.984 kB / 497.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.1115, allocations: 23.97 kB / 497.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.344e-05/0.1115, allocations: 11.98 kB / 497.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1115, allocations: 7.938 kB / 497.5 MB, free: 3.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00032/0.1119, allocations: 172.4 kB / 497.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1119, allocations: 0 / 497.7 MB, free: 3.039 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1121, allocations: 27.94 kB / 497.7 MB, free: 3.012 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.0001021/0.1122, allocations: 99.19 kB / 497.8 MB, free: 2.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003835/0.1126, allocations: 163.8 kB / 497.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1126, allocations: 0 / 497.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.1128, allocations: 75.95 kB / 498 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1131, allocations: 15.98 kB / 498 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.1139, allocations: 410.1 kB / 498.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.1142, allocations: 0.7236 MB / 499.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.1143, allocations: 15.44 kB / 499.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1143, allocations: 0 / 499.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of Templates: time 0.004043/0.1183, allocations: 1.988 MB / 0.4894 GB, free: 15.47 MB / 366.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: 6.499136873986572] Failed to read output from testmodel.py, exit status != 0: 0.1252046898007393 0.14058655 0.034702830000000004 Calling exit ...