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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002249/0.002249, allocations: 199.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-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 1.0.0-main/package.mo): time 0.004338/0.004338, allocations: 0.8948 MB / 307 MB, free: 7.887 MB / 238.1 MB " [Timeout remaining time 180] Using package BidiDCDC with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BidiDCDC 1.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001894/0.001894, allocations: 75.86 kB / 427.4 MB, free: 23.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.08137, allocations: 52.36 MB / 479.7 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002782/0.08415, allocations: 1.63 MB / 481.4 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008538/0.08501, allocations: 490.8 kB / 481.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.952e-05/0.08507, allocations: 0 / 481.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.08533, allocations: 27.83 kB / 481.9 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.08546, allocations: 31.8 kB / 481.9 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.0856, allocations: 47.92 kB / 481.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.08579, allocations: 131.7 kB / 482.1 MB, free: 480 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.0859, allocations: 15.94 kB / 482.1 MB, free: 464 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.086, allocations: 59.77 kB / 482.1 MB, free: 404 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.08618, allocations: 95.69 kB / 482.2 MB, free: 308 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.08622, allocations: 15.94 kB / 482.3 MB, free: 292 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.093e-05/0.08624, allocations: 8 kB / 482.3 MB, free: 284 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.853e-05/0.08632, allocations: 51.88 kB / 482.3 MB, free: 232 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.0864, allocations: 63.59 kB / 482.4 MB, free: 168 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.08661, allocations: 147.4 kB / 482.5 MB, free: 20 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.08661, allocations: 4 kB / 482.5 MB, free: 16 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.08661, allocations: 3.938 kB / 482.5 MB, free: 12 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.08662, allocations: 0 / 482.5 MB, free: 12 kB / 334.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.001118/0.08774, allocations: 0.5064 MB / 483 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.08777, allocations: 12.03 kB / 483 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.08781, allocations: 12.84 kB / 483.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.08829, allocations: 256 kB / 483.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.08831, allocations: 8.375 kB / 483.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.08833, allocations: 8.328 kB / 483.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.08859, allocations: 133.8 kB / 483.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.0886, allocations: 0 / 483.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.08862, allocations: 7.984 kB / 483.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.08862, allocations: 4 kB / 483.5 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.08891, allocations: 119.9 kB / 483.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008916/0.0898, allocations: 488.5 kB / 484.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.09004, allocations: 118.4 kB / 484.2 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/0.09019, allocations: 80.81 kB / 484.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.09021, allocations: 0 / 484.3 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.09024, allocations: 42.55 kB / 484.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.032e-06/0.09024, allocations: 0 / 484.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005796/0.09082, allocations: 245.6 kB / 484.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.09086, allocations: 63.34 kB / 484.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.09125, allocations: 223.3 kB / 484.8 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.09127, allocations: 25.7 kB / 484.8 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.641e-05/0.09135, allocations: 112.2 kB / 484.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.0914, allocations: 43.64 kB / 485 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.09147, allocations: 29.7 kB / 485 MB, free: 13.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.09162, allocations: 330.8 kB / 485.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/0.09178, allocations: 75.94 kB / 485.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.09194, allocations: 75.94 kB / 485.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.09225, allocations: 167.2 kB / 485.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.09225, allocations: 0 / 485.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003844/0.09264, allocations: 213.4 kB / 485.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.09265, allocations: 4 kB / 485.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.09266, allocations: 0 / 485.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.09267, allocations: 4 kB / 485.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.09285, allocations: 31.91 kB / 485.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.09285, allocations: 4 kB / 485.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.09304, allocations: 27.86 kB / 485.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.09305, allocations: 8 kB / 485.9 MB, free: 12.37 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.000112/0.09316, allocations: 141.6 kB / 486.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.09321, allocations: 19.89 kB / 486.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.96e-05/0.09327, allocations: 25.39 kB / 486.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.09327, allocations: 4 kB / 486.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.09328, allocations: 4 kB / 486.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.09328, allocations: 0 / 486.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.09357, allocations: 253.5 kB / 486.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.09357, allocations: 4 kB / 486.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001688/0.09374, allocations: 23.97 kB / 486.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.09374, allocations: 11.94 kB / 486.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.09375, allocations: 0 / 486.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.09375, allocations: 0 / 486.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.09376, allocations: 0 / 486.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.09435, allocations: 375.2 kB / 486.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.09442, allocations: 97.05 kB / 486.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.09444, allocations: 8 kB / 486.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.09465, allocations: 19.97 kB / 486.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.09469, allocations: 11.98 kB / 486.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.0947, allocations: 0 / 486.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003182/0.09502, allocations: 179.2 kB / 487.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09502, allocations: 0 / 487.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002367/0.09525, allocations: 39.89 kB / 487.1 MB, free: 11.09 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.0001034/0.09536, allocations: 99.67 kB / 487.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.09572, allocations: 159.8 kB / 487.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.09572, allocations: 0 / 487.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.09589, allocations: 79.83 kB / 487.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.09618, allocations: 27.86 kB / 487.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.09686, allocations: 360.3 kB / 487.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.09721, allocations: 0.7236 MB / 488.6 MB, free: 9.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.612e-05/0.09731, allocations: 36.84 kB / 488.6 MB, free: 9.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.192e-05/0.09736, allocations: 19.44 kB / 488.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.09736, allocations: 3.938 kB / 488.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of Templates: time 0.004189/0.1015, allocations: 1.572 MB / 490.2 MB, free: 7.961 MB / 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 -s cvode -lv LOG_STATS > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.14540750766173] Failed to read output from testmodel.py, exit status != 0: 0.10857600532472134 0.12286752100000001 0.033180976 Calling exit ...