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.001533/0.001533, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001783/0.001783, allocations: 186 kB / 22.23 MB, free: 5.137 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.425/1.425, allocations: 225.6 MB / 251 MB, free: 13.01 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.004174/0.004174, allocations: 0.8905 MB / 307.2 MB, free: 7.723 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.001774/0.001774, allocations: 71.88 kB / 427.6 MB, free: 22.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08175/0.08352, allocations: 52.4 MB / 480 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002627/0.08615, allocations: 1.633 MB / 481.6 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008575/0.087, allocations: 490.8 kB / 482.1 MB, free: 364 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.08708, allocations: 11.88 kB / 482.1 MB, free: 352 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.08736, allocations: 31.78 kB / 482.2 MB, free: 320 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.08753, allocations: 27.84 kB / 482.2 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.08771, allocations: 47.92 kB / 482.2 MB, free: 244 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.08794, allocations: 159.6 kB / 482.4 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.08803, allocations: 23.92 kB / 482.4 MB, free: 60 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.08815, allocations: 63.89 kB / 482.5 MB, free: 15.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.08829, allocations: 83.69 kB / 482.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.08832, allocations: 15.94 kB / 482.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.011e-05/0.08834, allocations: 8 kB / 482.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.085e-05/0.08842, allocations: 59.81 kB / 482.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.803e-05/0.08849, allocations: 63.59 kB / 482.7 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.08866, allocations: 135.5 kB / 482.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.08866, allocations: 0 / 482.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.08866, allocations: 0 / 482.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.08867, allocations: 0 / 482.8 MB, free: 15.64 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.0009772/0.08964, allocations: 453.4 kB / 483.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.08967, allocations: 8.031 kB / 483.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.08971, allocations: 20.84 kB / 483.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004237/0.09014, allocations: 199.1 kB / 483.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.09015, allocations: 8.375 kB / 483.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.09018, allocations: 8.328 kB / 483.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.09041, allocations: 125.9 kB / 483.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.09043, allocations: 0 / 483.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.09044, allocations: 4 kB / 483.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.09044, allocations: 4 kB / 483.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003814/0.09082, allocations: 123.9 kB / 483.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00084/0.09166, allocations: 467.5 kB / 484.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.09188, allocations: 114.5 kB / 484.3 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.09204, allocations: 84.95 kB / 484.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.09206, allocations: 0 / 484.4 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.09209, allocations: 42.5 kB / 484.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 7.91e-07/0.09209, allocations: 0 / 484.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005275/0.09261, allocations: 245.5 kB / 484.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.09265, allocations: 51.41 kB / 484.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003578/0.09301, allocations: 222.3 kB / 485 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.09303, allocations: 33.7 kB / 485 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.09311, allocations: 112.1 kB / 485.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.09315, allocations: 39.78 kB / 485.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.0932, allocations: 33.7 kB / 485.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.09333, allocations: 334.7 kB / 485.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.09348, allocations: 71.94 kB / 485.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.09362, allocations: 82.75 kB / 485.7 MB, free: 12.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002813/0.0939, allocations: 168.7 kB / 485.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.0939, allocations: 0 / 485.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003501/0.09425, allocations: 205.5 kB / 486 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.09427, allocations: 8 kB / 486 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.09427, allocations: 0 / 486 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.09429, allocations: 0 / 486 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.09445, allocations: 43.89 kB / 486.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.09445, allocations: 0 / 486.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.09462, allocations: 27.86 kB / 486.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.09463, allocations: 8 kB / 486.1 MB, free: 12.17 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.0001064/0.09473, allocations: 137.7 kB / 486.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/0.09477, allocations: 11.91 kB / 486.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.936e-05/0.09483, allocations: 29.39 kB / 486.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.09483, allocations: 8 kB / 486.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.09484, allocations: 0 / 486.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.09484, allocations: 0 / 486.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.0951, allocations: 228.6 kB / 486.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.0951, allocations: 0 / 486.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.09525, allocations: 27.97 kB / 486.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.09526, allocations: 3.938 kB / 486.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.09527, allocations: 4 kB / 486.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.09527, allocations: 0 / 486.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.09527, allocations: 0 / 486.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.09581, allocations: 379.5 kB / 486.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.09585, allocations: 19.94 kB / 487 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.09587, allocations: 4 kB / 487 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.09607, allocations: 19.97 kB / 487 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.09611, allocations: 15.98 kB / 487 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.09612, allocations: 4 kB / 487 MB, free: 11.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002854/0.09641, allocations: 180.1 kB / 487.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.09641, allocations: 0 / 487.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.09663, allocations: 31.89 kB / 487.2 MB, free: 11.02 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 8.392e-05/0.09672, allocations: 99.12 kB / 487.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00034/0.09706, allocations: 165.9 kB / 487.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.09706, allocations: 0 / 487.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.09721, allocations: 75.89 kB / 487.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.09748, allocations: 26.5 kB / 487.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006181/0.0981, allocations: 360.6 kB / 487.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.09845, allocations: 0.7314 MB / 488.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.885e-05/0.09853, allocations: 32.94 kB / 488.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.144e-05/0.09859, allocations: 15.44 kB / 488.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.09859, allocations: 0 / 488.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of Templates: time 0.004014/0.1026, allocations: 1.613 MB / 490.3 MB, free: 7.855 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 -lv LOG_STATS > BidiDCDC_BidiDCDC.Examples.TransferFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.062099998816848] Failed to read output from testmodel.py, exit status != 0: 0.10908508021384478 0.12303523100000001 0.031574791000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb5a8f117b0>