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.001953/0.001953, allocations: 107 kB / 16.41 MB, free: 6.469 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.0016/0.0016, allocations: 190.8 kB / 19.35 MB, free: 3.734 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.401/1.401, allocations: 222.9 MB / 245 MB, free: 15.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.004497/0.004497, allocations: 0.8767 MB / 298.1 MB, free: 11.76 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.002/0.002, allocations: 63.89 kB / 411.6 MB, free: 30.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.109, allocations: 49.66 MB / 461.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.002936/0.112, allocations: 1.606 MB / 462.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000957/0.113, allocations: 490.8 kB / 463.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.113, allocations: 0 / 463.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002771/0.1133, allocations: 27.8 kB / 463.3 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.1135, allocations: 39.72 kB / 463.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.1136, allocations: 39.94 kB / 463.4 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.1139, allocations: 131.6 kB / 463.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.114, allocations: 31.92 kB / 463.6 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.979e-05/0.1141, allocations: 59.81 kB / 463.6 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001634/0.1143, allocations: 79.78 kB / 463.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.1143, allocations: 8 kB / 463.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.1143, allocations: 12 kB / 463.7 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.1145, allocations: 51.83 kB / 463.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.824e-05/0.1145, allocations: 59.66 kB / 463.8 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.1148, allocations: 147.3 kB / 464 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1148, allocations: 4 kB / 464 MB, free: 10.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1148, allocations: 0 / 464 MB, free: 10.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1148, allocations: 0 / 464 MB, free: 10.16 MB / 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.00113/0.1159, allocations: 0.5181 MB / 464.5 MB, free: 9.59 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.116, allocations: 8.031 kB / 464.5 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.114e-05/0.116, allocations: 16.84 kB / 464.5 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.1166, allocations: 252 kB / 464.8 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1166, allocations: 8.375 kB / 464.8 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.1166, allocations: 16.31 kB / 464.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.1169, allocations: 129.8 kB / 464.9 MB, free: 9.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.117, allocations: 3.953 kB / 464.9 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.117, allocations: 4 kB / 464.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.117, allocations: 0 / 464.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.1173, allocations: 119.9 kB / 465 MB, free: 9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009302/0.1182, allocations: 0.4887 MB / 465.5 MB, free: 8.461 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.1185, allocations: 118.5 kB / 465.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.1187, allocations: 84.8 kB / 465.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.1187, allocations: 0 / 465.7 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1187, allocations: 30.56 kB / 465.8 MB, free: 8.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.1187, allocations: 0 / 465.8 MB, free: 8.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006143/0.1194, allocations: 257.5 kB / 466 MB, free: 7.953 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1194, allocations: 51.41 kB / 466.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.1198, allocations: 227.3 kB / 466.3 MB, free: 7.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.1199, allocations: 25.7 kB / 466.3 MB, free: 7.629 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.12, allocations: 112.1 kB / 466.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.034e-05/0.12, allocations: 43.78 kB / 466.5 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.003e-05/0.1201, allocations: 29.72 kB / 466.5 MB, free: 7.438 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.1203, allocations: 326.8 kB / 466.8 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.1204, allocations: 79.94 kB / 466.9 MB, free: 7.031 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.1206, allocations: 75.94 kB / 467 MB, free: 6.957 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.1209, allocations: 160.5 kB / 467.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.121, allocations: 3.938 kB / 467.1 MB, free: 6.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004275/0.1214, allocations: 221.4 kB / 467.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1214, allocations: 8 kB / 467.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1214, allocations: 0 / 467.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1215, allocations: 0 / 467.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1217, allocations: 31.98 kB / 467.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1217, allocations: 0 / 467.4 MB, free: 6.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.1219, allocations: 31.84 kB / 467.4 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1219, allocations: 4 kB / 467.4 MB, free: 6.5 MB / 334.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.0001304/0.122, allocations: 145.6 kB / 467.5 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.1221, allocations: 15.91 kB / 467.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.731e-05/0.1221, allocations: 25.41 kB / 467.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1221, allocations: 0 / 467.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1221, allocations: 0 / 467.6 MB, free: 6.301 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.1222, allocations: 3.984 kB / 467.6 MB, free: 6.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.1225, allocations: 253.5 kB / 467.8 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1225, allocations: 0 / 467.8 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.1226, allocations: 23.98 kB / 467.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1227, allocations: 4 kB / 467.9 MB, free: 5.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1227, allocations: 7.984 kB / 467.9 MB, free: 5.965 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1227, allocations: 4 kB / 467.9 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1227, allocations: 0 / 467.9 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006237/0.1233, allocations: 375.5 kB / 468.2 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.1234, allocations: 89.02 kB / 468.3 MB, free: 5.473 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.1234, allocations: 8 kB / 468.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.1237, allocations: 24.02 kB / 468.4 MB, free: 5.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.1237, allocations: 7.984 kB / 468.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.1238, allocations: 8 kB / 468.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003324/0.1241, allocations: 179.2 kB / 468.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1241, allocations: 0 / 468.6 MB, free: 5.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002457/0.1244, allocations: 35.89 kB / 468.6 MB, free: 5.215 MB / 334.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.0001107/0.1245, allocations: 107.2 kB / 468.7 MB, free: 5.102 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004051/0.1249, allocations: 159.8 kB / 468.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1249, allocations: 0 / 468.8 MB, free: 4.945 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.1251, allocations: 87.81 kB / 468.9 MB, free: 4.859 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.1254, allocations: 16 kB / 469 MB, free: 4.844 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000743/0.1261, allocations: 368.3 kB / 469.3 MB, free: 4.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.1265, allocations: 0.7275 MB / 470 MB, free: 3.703 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.1266, allocations: 32.84 kB / 470.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.1267, allocations: 23.44 kB / 470.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1267, allocations: 0 / 470.1 MB, free: 3.645 MB / 334.1 MB Notification: Performance of Templates: time 0.004769/0.1315, allocations: 1.513 MB / 471.6 MB, free: 2.137 MB / 334.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.5989184863865376]