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.001327/0.001327, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001535/0.001535, allocations: 159.5 kB / 22.45 MB, free: 5.375 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.435/1.435, allocations: 177.2 MB / 202.8 MB, free: 9.16 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.004115/0.004115, allocations: 0.6614 MB / 259.8 MB, free: 24 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: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 382.6 MB, free: 3.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.432e-05/2.564e-05, allocations: 2.281 kB / 382.6 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002633/0.002659, allocations: 1.606 MB / 384.2 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009558/0.003615, allocations: 0.4948 MB / 384.7 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.003681, allocations: 4 kB / 384.7 MB, free: 1.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.003959, allocations: 31.72 kB / 384.8 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.004095, allocations: 31.78 kB / 384.8 MB, free: 1.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.004291, allocations: 59.89 kB / 384.9 MB, free: 1.598 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.004465, allocations: 107.7 kB / 385 MB, free: 1.492 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.004563, allocations: 15.98 kB / 385 MB, free: 1.477 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.004669, allocations: 59.81 kB / 385 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.004809, allocations: 75.83 kB / 385.1 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.004845, allocations: 8 kB / 385.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.394e-05/0.004869, allocations: 12 kB / 385.1 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.679e-05/0.004955, allocations: 59.8 kB / 385.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.005018, allocations: 31.92 kB / 385.2 MB, free: 1.234 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.005219, allocations: 151.5 kB / 385.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005221, allocations: 0 / 385.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.005222, allocations: 0 / 385.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.005227, allocations: 4 kB / 385.4 MB, free: 1.082 MB / 302.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.001003/0.00623, allocations: 441.4 kB / 385.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.00628, allocations: 20.02 kB / 385.8 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.00633, allocations: 24.8 kB / 385.9 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.006775, allocations: 197.3 kB / 386 MB, free: 368 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.00679, allocations: 8.375 kB / 386.1 MB, free: 360 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.006819, allocations: 4.375 kB / 386.1 MB, free: 356 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.007072, allocations: 126 kB / 386.2 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.007085, allocations: 192 / 386.2 MB, free: 224 kB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.0071, allocations: 4.375 kB / 386.2 MB, free: 220 kB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.007108, allocations: 7.938 kB / 386.2 MB, free: 212 kB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.007401, allocations: 127.8 kB / 386.3 MB, free: 84 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/0.008235, allocations: 408.3 kB / 386.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.008494, allocations: 110.5 kB / 386.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.008663, allocations: 84.89 kB / 386.9 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.008684, allocations: 7.938 kB / 386.9 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.008718, allocations: 30.56 kB / 386.9 MB, free: 15.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.00872, allocations: 0 / 386.9 MB, free: 15.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006142/0.009334, allocations: 253.5 kB / 387.2 MB, free: 15.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.009381, allocations: 51.41 kB / 387.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.009815, allocations: 231.5 kB / 387.5 MB, free: 14.85 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.009843, allocations: 29.7 kB / 387.5 MB, free: 14.81 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.009947, allocations: 116.2 kB / 387.6 MB, free: 14.7 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.009999, allocations: 35.66 kB / 387.7 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-05/0.01006, allocations: 33.7 kB / 387.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.01026, allocations: 330.8 kB / 388 MB, free: 14.29 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.01042, allocations: 75.94 kB / 388.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.01058, allocations: 79.88 kB / 388.2 MB, free: 14.14 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.01089, allocations: 160.8 kB / 388.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01089, allocations: 0 / 388.3 MB, free: 13.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003845/0.01127, allocations: 216.7 kB / 388.5 MB, free: 13.76 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.01129, allocations: 8 kB / 388.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01129, allocations: 0 / 388.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.01131, allocations: 3.984 kB / 388.5 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001765/0.01148, allocations: 31.92 kB / 388.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.01149, allocations: 0 / 388.6 MB, free: 13.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.01167, allocations: 27.92 kB / 388.6 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.01168, allocations: 8 kB / 388.6 MB, free: 13.68 MB / 318.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.0001137/0.0118, allocations: 125.8 kB / 388.7 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.01184, allocations: 23.84 kB / 388.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.0119, allocations: 25.45 kB / 388.8 MB, free: 13.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01191, allocations: 4 kB / 388.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.01191, allocations: 0 / 388.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.01191, allocations: 0 / 388.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.01214, allocations: 185.2 kB / 389 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.01215, allocations: 0 / 389 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.01231, allocations: 27.92 kB / 389 MB, free: 13.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.01232, allocations: 3.938 kB / 389 MB, free: 13.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.01233, allocations: 7.984 kB / 389 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.01234, allocations: 11.94 kB / 389 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01234, allocations: 0 / 389 MB, free: 13.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005792/0.01292, allocations: 375.2 kB / 389.4 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.01295, allocations: 23.84 kB / 389.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.01298, allocations: 0 / 389.4 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.01318, allocations: 19.97 kB / 389.4 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.01324, allocations: 11.98 kB / 389.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.01325, allocations: 8 kB / 389.4 MB, free: 12.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003106/0.01356, allocations: 172.4 kB / 389.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01357, allocations: 0 / 389.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000233/0.0138, allocations: 24 kB / 389.6 MB, free: 12.61 MB / 318.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.0001154/0.01391, allocations: 99.17 kB / 389.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003664/0.01428, allocations: 159.8 kB / 389.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.01428, allocations: 0 / 389.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.01444, allocations: 79.88 kB / 390 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.01475, allocations: 18.81 kB / 390 MB, free: 12.25 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/0.01547, allocations: 358.5 kB / 390.3 MB, free: 11.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.01559, allocations: 110.2 kB / 390.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.59e-05/0.01569, allocations: 40.94 kB / 390.5 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.224e-05/0.01576, allocations: 16.5 kB / 390.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.01576, allocations: 0 / 390.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of Templates: time 0.004753/0.02052, allocations: 1.592 MB / 392.1 MB, free: 10.11 MB / 318.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 sys.exit(0), Time elapsed: 3.8955351524055004] Failed to read output from testmodel.py, exit status != 0: 0.028659600764513016 0.043703623000000004 0.035515975000000005 Calling exit ...