Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SDF_SDF.Examples.Playback.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.001056/0.001056, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001134/0.001134, allocations: 169.7 kB / 23.28 MB, free: 1.223 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.9015/0.9015, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003725/0.003725, allocations: 0.836 MB / 261.1 MB, free: 12.09 MB / 250.7 MB " [Timeout remaining time 180] Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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(SDF.Examples.Playback,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SDF_SDF.Examples.Playback") translateModel(SDF.Examples.Playback,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="SDF_SDF.Examples.Playback") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 331 MB, free: 3.746 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.814e-05, allocations: 2.312 kB / 331 MB, free: 3.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.002992/0.003011, allocations: 1.672 MB / 332.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002766/0.005777, allocations: 1.886 MB / 334.6 MB, free: 164 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.609e-05/0.005873, allocations: 3.938 kB / 334.6 MB, free: 160 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002149/0.008022, allocations: 238 kB / 334.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005795/0.008602, allocations: 141 kB / 334.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.008742, allocations: 87.61 kB / 335 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.008886, allocations: 155.5 kB / 335.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.008973, allocations: 17.3 kB / 335.2 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.009184, allocations: 127 kB / 335.3 MB, free: 15.48 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.009236, allocations: 39.83 kB / 335.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.009253, allocations: 8 kB / 335.4 MB, free: 15.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.009393, allocations: 119.7 kB / 335.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001216/0.01061, allocations: 2.835 MB / 338.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004542/0.01106, allocations: 0.7822 MB / 339.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.01254, allocations: 2.605 MB / 341.7 MB, free: 9.066 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.01254, allocations: 4 kB / 341.7 MB, free: 9.062 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01254, allocations: 0 / 341.7 MB, free: 9.062 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.688e-05/0.01257, allocations: 0 / 341.7 MB, free: 9.062 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003464/0.01603, allocations: 4.729 MB / 346.4 MB, free: 4.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.01607, allocations: 8.75 kB / 346.5 MB, free: 4.254 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003483/0.01642, allocations: 477.7 kB / 346.9 MB, free: 3.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.0179, allocations: 1.828 MB / 348.7 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.01791, allocations: 8.375 kB / 348.8 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.01792, allocations: 384 / 348.8 MB, free: 1.887 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001075/0.01803, allocations: 70.91 kB / 348.8 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.01804, allocations: 7.938 kB / 348.8 MB, free: 1.801 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.01804, allocations: 3.984 kB / 348.8 MB, free: 1.797 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.01805, allocations: 4 kB / 348.8 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.083e-05/0.01808, allocations: 15.92 kB / 348.9 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.01985, allocations: 1.732 MB / 350.6 MB, free: 12 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.01996, allocations: 47.11 kB / 350.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.01998, allocations: 19.67 kB / 350.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.01999, allocations: 3.938 kB / 350.7 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.788e-05/0.02008, allocations: 76.92 kB / 350.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.02008, allocations: 4 kB / 350.7 MB, free: 15.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000445/0.02053, allocations: 0.5414 MB / 351.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.02057, allocations: 51.41 kB / 351.3 MB, free: 15.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005742/0.02631, allocations: 7.426 MB / 358.8 MB, free: 7.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.02632, allocations: 25.7 kB / 358.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.02743, allocations: 1.396 MB / 360.2 MB, free: 6.316 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.02758, allocations: 287.6 kB / 360.5 MB, free: 6.035 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002762/0.03034, allocations: 3.787 MB / 364.2 MB, free: 2.219 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.03044, allocations: 496.4 kB / 364.7 MB, free: 1.727 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.03248, allocations: 1.933 MB / 366.7 MB, free: 15.78 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.03503, allocations: 3.193 MB / 369.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/0.03798, allocations: 3.648 MB / 373.5 MB, free: 8.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.665e-05/0.038, allocations: 0 / 373.5 MB, free: 8.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.005875/0.04387, allocations: 7.387 MB / 380.9 MB, free: 1.367 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.0439, allocations: 4 kB / 380.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.04392, allocations: 0 / 380.9 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-05/0.04396, allocations: 51.98 kB / 380.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005866/0.04983, allocations: 2.376 MB / 383.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001159/0.04994, allocations: 48 kB / 383.4 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.05155, allocations: 252 kB / 383.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004629/0.05201, allocations: 248 kB / 383.9 MB, free: 14.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timeTable.combiTimeTable.nextTimeEvent,$whenCondition1,timeTable.combiTimeTable.nextTimeEventScaled,$PRE.timeTable.combiTimeTable.nextTimeEventScaled,timeTable.combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1555): * Single equations (assignments): 1555 * 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.0005694/0.05258, allocations: 0.5296 MB / 384.4 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.05288, allocations: 488.6 kB / 384.9 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.05308, allocations: 144.9 kB / 385 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.05309, allocations: 4 kB / 385 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.05309, allocations: 256 / 385 MB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.05309, allocations: 3.984 kB / 385 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.05439, allocations: 1.421 MB / 386.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.05439, allocations: 0 / 386.4 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.05442, allocations: 15.98 kB / 386.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.05442, allocations: 0 / 386.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.05443, allocations: 3.938 kB / 386.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.05443, allocations: 4 kB / 386.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.05443, allocations: 0 / 386.5 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004076/0.05484, allocations: 0.6099 MB / 387.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/0.05547, allocations: 0.6292 MB / 387.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.05565, allocations: 7.938 kB / 387.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002835/0.05594, allocations: 3.984 kB / 387.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.326e-05/0.05596, allocations: 4 kB / 387.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.05597, allocations: 8 kB / 387.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002146/0.05811, allocations: 2.341 MB / 390.1 MB, free: 8.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05811, allocations: 0 / 390.1 MB, free: 8.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001304/0.05942, allocations: 1.508 MB / 391.6 MB, free: 6.598 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,timeTable.combiTimeTable.nextTimeEvent,timeTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (timeTable.combiTimeTable.nextTimeEvent,timeTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000915/0.06033, allocations: 0.4903 MB / 392.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003425/0.06376, allocations: 4.374 MB / 396.4 MB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.06376, allocations: 0 / 396.4 MB, free: 1.891 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.0638, allocations: 31.66 kB / 396.5 MB, free: 1.855 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006845/0.06448, allocations: 172 kB / 396.6 MB, free: 1.684 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.07605, allocations: 13.08 MB / 409.7 MB, free: 4.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.07766, allocations: 1.687 MB / 411.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007163/0.07837, allocations: 474.7 kB / 411.9 MB, free: 2.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008423/0.07922, allocations: 494.2 kB / 412.3 MB, free: 1.816 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.07922, allocations: 0 / 412.3 MB, free: 1.816 MB / 378.7 MB Notification: Performance of Templates: time 0.1699/0.2491, allocations: 37.1 MB / 449.4 MB, free: 141.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f SDF_SDF.Examples.Playback.makefile [Timeout 660] (rm -f SDF_SDF.Examples.Playback.pipe ; mkfifo SDF_SDF.Examples.Playback.pipe ; head -c 1048576 < SDF_SDF.Examples.Playback.pipe >> ../files/SDF_SDF.Examples.Playback.sim & ./SDF_SDF.Examples.Playback -abortSlowSimulation -alarm=240 -lv LOG_STATS > SDF_SDF.Examples.Playback.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4368007369339466]