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.00138/0.00138, allocations: 88.22 kB / 19.65 MB, free: 272 kB / 13.93 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.001845/0.001845, allocations: 173 kB / 23.02 MB, free: 1.543 MB / 18.57 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.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.004739/0.004739, allocations: 0.6598 MB / 260.6 MB, free: 12.38 MB / 250.7 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 3.446e-06/3.446e-06, allocations: 0 / 330.4 MB, free: 19.01 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.91e-05/4.255e-05, allocations: 2.312 kB / 330.4 MB, free: 19 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002321/0.002364, allocations: 1.641 MB / 332 MB, free: 17.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008582/0.003222, allocations: 0.5026 MB / 332.5 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.003309, allocations: 0 / 332.5 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.00364, allocations: 27.78 kB / 332.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.003791, allocations: 35.73 kB / 332.6 MB, free: 16.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.00397, allocations: 67.81 kB / 332.7 MB, free: 16.71 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.004102, allocations: 103.7 kB / 332.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.004206, allocations: 12 kB / 332.8 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.105e-05/0.004297, allocations: 63.81 kB / 332.8 MB, free: 16.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.004416, allocations: 75.83 kB / 332.9 MB, free: 16.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.004448, allocations: 12 kB / 332.9 MB, free: 16.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.929e-05/0.004467, allocations: 12 kB / 332.9 MB, free: 16.44 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.748e-05/0.004545, allocations: 59.73 kB / 333 MB, free: 16.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.004597, allocations: 35.92 kB / 333 MB, free: 16.35 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.004766, allocations: 111.6 kB / 333.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.00477, allocations: 0 / 333.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.004772, allocations: 0 / 333.1 MB, free: 16.24 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.004777, allocations: 0 / 333.1 MB, free: 16.24 MB / 266.7 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.0005982/0.005375, allocations: 0.5154 MB / 333.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.005417, allocations: 8.031 kB / 333.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.005473, allocations: 24.8 kB / 333.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.005724, allocations: 187.1 kB / 333.9 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.005737, allocations: 8.375 kB / 333.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.005768, allocations: 4.375 kB / 333.9 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.005917, allocations: 80.81 kB / 334 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.005928, allocations: 192 / 334 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.005941, allocations: 12.38 kB / 334 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005949, allocations: 3.938 kB / 334 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.108e-05/0.00603, allocations: 35.97 kB / 334 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005276/0.006558, allocations: 411.5 kB / 334.4 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.00667, allocations: 59.05 kB / 334.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.006718, allocations: 35.62 kB / 334.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.006733, allocations: 0 / 334.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.006757, allocations: 41.33 kB / 334.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.006758, allocations: 0 / 334.5 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002605/0.007018, allocations: 113.7 kB / 334.7 MB, free: 14.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.007041, allocations: 51.41 kB / 334.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.007174, allocations: 247.2 kB / 335 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.007186, allocations: 25.7 kB / 335 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.007239, allocations: 158.9 kB / 335.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.007278, allocations: 43.78 kB / 335.2 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.00734, allocations: 39.38 kB / 335.2 MB, free: 13.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.007409, allocations: 0.5001 MB / 335.7 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.239e-05/0.007451, allocations: 16 kB / 335.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/0.007491, allocations: 16.61 kB / 335.7 MB, free: 13.44 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.532e-05/0.007586, allocations: 51.38 kB / 335.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.007589, allocations: 3.938 kB / 335.8 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000136/0.007725, allocations: 113.5 kB / 335.9 MB, free: 13.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.007742, allocations: 10.03 kB / 335.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.007748, allocations: 0 / 335.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.007767, allocations: 0 / 335.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/0.0079, allocations: 27.92 kB / 335.9 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.007906, allocations: 4 kB / 336 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.007974, allocations: 23.88 kB / 336 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.007983, allocations: 4 kB / 336 MB, free: 13.2 MB / 266.7 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 6.025e-05/0.008043, allocations: 160.6 kB / 336.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.00807, allocations: 23.83 kB / 336.2 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.847e-05/0.008109, allocations: 21.47 kB / 336.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.008111, allocations: 0 / 336.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.008115, allocations: 0 / 336.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.008118, allocations: 0 / 336.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.00827, allocations: 176.6 kB / 336.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.008271, allocations: 0 / 336.4 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.008361, allocations: 31.91 kB / 336.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.008364, allocations: 3.938 kB / 336.4 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.008388, allocations: 8 kB / 336.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.008391, allocations: 0 / 336.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008392, allocations: 0 / 336.4 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000272/0.008664, allocations: 267.7 kB / 336.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.811e-05/0.008702, allocations: 23.88 kB / 336.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.008732, allocations: 3.984 kB / 336.7 MB, free: 12.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.008853, allocations: 19.98 kB / 336.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.008916, allocations: 7.984 kB / 336.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.008926, allocations: 4 kB / 336.7 MB, free: 12.4 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.937e-05/0.009025, allocations: 176.2 kB / 336.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009026, allocations: 0 / 336.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.009322, allocations: 27.94 kB / 336.9 MB, free: 12.2 MB / 266.7 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.0001215/0.009443, allocations: 95.19 kB / 337 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002226/0.009666, allocations: 63.66 kB / 337.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.009668, allocations: 3.938 kB / 337.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.00974, allocations: 43.61 kB / 337.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.01011, allocations: 27.97 kB / 337.1 MB, free: 11.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.01079, allocations: 310.6 kB / 337.4 MB, free: 11.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.924e-05/0.01083, allocations: 83.31 kB / 337.5 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.519e-05/0.01089, allocations: 24.95 kB / 337.6 MB, free: 11.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.01094, allocations: 20.48 kB / 337.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of SimCode: time 1.613e-06/0.01095, allocations: 0 / 337.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of Templates: time 0.003946/0.01489, allocations: 1.609 MB / 339.2 MB, free: 9.883 MB / 266.7 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=240 -lv LOG_STATS > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2209373959340155]