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.000903/0.000903, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009035/0.0009035, allocations: 177.3 kB / 23.36 MB, free: 1.133 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 0.9718/0.9718, allocations: 177.2 MB / 203.8 MB, free: 5.48 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.002748/0.002748, allocations: 0.6696 MB / 260.9 MB, free: 12.27 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 1.553e-06/1.553e-06, allocations: 0 / 277.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.325e-05/1.48e-05, allocations: 2.312 kB / 277.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.instantiate(BidiDCDC.Examples.TransferFunction): time 0.001939/0.001954, allocations: 1.642 MB / 279.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000836/0.00279, allocations: 0.5142 MB / 279.7 MB, free: 9.434 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.002862, allocations: 4 kB / 279.8 MB, free: 9.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.003119, allocations: 31.78 kB / 279.8 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.003213, allocations: 27.78 kB / 279.8 MB, free: 9.371 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.003621, allocations: 67.83 kB / 279.9 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.003736, allocations: 103.7 kB / 280 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.335e-05/0.003809, allocations: 15.98 kB / 280 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.936e-05/0.003889, allocations: 67.8 kB / 280.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.003993, allocations: 71.84 kB / 280.1 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.00402, allocations: 15.98 kB / 280.1 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.004035, allocations: 8 kB / 280.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.936e-05/0.004094, allocations: 51.89 kB / 280.2 MB, free: 8.977 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.004131, allocations: 39.83 kB / 280.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.00426, allocations: 111.6 kB / 280.4 MB, free: 8.828 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.004261, allocations: 0 / 280.4 MB, free: 8.828 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.004262, allocations: 0 / 280.4 MB, free: 8.828 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.885e-06/0.004265, allocations: 4 kB / 280.4 MB, free: 8.824 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.0004118/0.004677, allocations: 376.2 kB / 280.7 MB, free: 8.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.004706, allocations: 8.031 kB / 280.7 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.004739, allocations: 12.92 kB / 280.7 MB, free: 8.414 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.004917, allocations: 190.1 kB / 280.9 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.004927, allocations: 8.375 kB / 280.9 MB, free: 8.191 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.004948, allocations: 8.375 kB / 280.9 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.005052, allocations: 69.03 kB / 281 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.005058, allocations: 192 / 281 MB, free: 8.109 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.005073, allocations: 8.375 kB / 281 MB, free: 8.102 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.00508, allocations: 3.938 kB / 281 MB, free: 8.098 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.838e-05/0.005138, allocations: 27.97 kB / 281.1 MB, free: 8.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.005517, allocations: 269.7 kB / 281.3 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.0056, allocations: 93.3 kB / 281.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.03e-05/0.00563, allocations: 16.86 kB / 281.4 MB, free: 7.668 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.00564, allocations: 0 / 281.4 MB, free: 7.668 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.005662, allocations: 42.5 kB / 281.5 MB, free: 7.617 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.005663, allocations: 4 kB / 281.5 MB, free: 7.613 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001578/0.005821, allocations: 89.75 kB / 281.6 MB, free: 7.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.00585, allocations: 51.41 kB / 281.6 MB, free: 7.457 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.005955, allocations: 183.9 kB / 281.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.005968, allocations: 25.7 kB / 281.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.006007, allocations: 96.11 kB / 281.9 MB, free: 7.137 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.006042, allocations: 43.77 kB / 281.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.006083, allocations: 29.7 kB / 282 MB, free: 7.059 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.006168, allocations: 326.8 kB / 282.3 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.97e-05/0.006197, allocations: 18.81 kB / 282.3 MB, free: 6.711 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.006221, allocations: 8 kB / 282.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.056e-05/0.006282, allocations: 58.3 kB / 282.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.006284, allocations: 0 / 282.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 8.538e-05/0.00637, allocations: 73.67 kB / 282.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.00638, allocations: 11.94 kB / 282.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.006383, allocations: 0 / 282.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.006393, allocations: 0 / 282.5 MB, free: 6.555 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.006475, allocations: 23.98 kB / 282.5 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.006477, allocations: 0 / 282.5 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.006523, allocations: 19.88 kB / 282.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.006529, allocations: 4 kB / 282.5 MB, free: 6.508 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 5.702e-05/0.006586, allocations: 120.6 kB / 282.6 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.006608, allocations: 15.92 kB / 282.6 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.037e-05/0.006638, allocations: 21.47 kB / 282.7 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.006641, allocations: 4 kB / 282.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.006642, allocations: 0 / 282.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.006645, allocations: 0 / 282.7 MB, free: 6.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001123/0.006757, allocations: 113.8 kB / 282.8 MB, free: 6.211 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006758, allocations: 3.984 kB / 282.8 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.994e-05/0.006828, allocations: 16 kB / 282.8 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.006831, allocations: 4 kB / 282.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.006848, allocations: 11.98 kB / 282.8 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.006849, allocations: 3.938 kB / 282.8 MB, free: 6.172 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.006851, allocations: 3.938 kB / 282.8 MB, free: 6.168 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.007013, allocations: 230.2 kB / 283 MB, free: 5.926 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/0.007032, allocations: 23.83 kB / 283.1 MB, free: 5.902 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.00705, allocations: 4 kB / 283.1 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.007108, allocations: 7.938 kB / 283.1 MB, free: 5.891 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.979e-05/0.007137, allocations: 7.984 kB / 283.1 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.007142, allocations: 7.984 kB / 283.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.007183, allocations: 57.89 kB / 283.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007183, allocations: 0 / 283.2 MB, free: 5.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000121/0.007304, allocations: 24 kB / 283.2 MB, free: 5.793 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 7.48e-05/0.007379, allocations: 84.89 kB / 283.3 MB, free: 5.699 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.008e-05/0.007469, allocations: 48.72 kB / 283.3 MB, free: 5.648 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.007472, allocations: 4 kB / 283.3 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/0.00751, allocations: 32.78 kB / 283.3 MB, free: 5.609 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001509/0.007661, allocations: 26.81 kB / 283.4 MB, free: 5.582 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004262/0.008087, allocations: 315.8 kB / 283.7 MB, free: 5.246 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.462e-05/0.008141, allocations: 83.31 kB / 283.8 MB, free: 5.145 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.008189, allocations: 8.969 kB / 283.8 MB, free: 5.133 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.008277, allocations: 63.38 kB / 283.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.008278, allocations: 0 / 283.8 MB, free: 5.07 MB / 266.7 MB Notification: Performance of Templates: time 0.003531/0.01181, allocations: 1.64 MB / 285.5 MB, free: 3.457 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: 2.740610951092094]