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.001039/0.001039, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001047/0.001047, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9266/0.9266, allocations: 177.2 MB / 203.4 MB, free: 5.633 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.004043/0.004043, allocations: 0.8308 MB / 260.8 MB, free: 12.25 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 1.493e-06/1.493e-06, allocations: 0 / 330.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.546e-05/1.695e-05, allocations: 2.312 kB / 330.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SDF.Examples.Playback): time 0.001702/0.001719, allocations: 1.682 MB / 332.2 MB, free: 17.28 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.003324, allocations: 1.897 MB / 334.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.1e-05/0.003395, allocations: 0 / 334.1 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002177/0.005572, allocations: 238.3 kB / 334.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004561/0.006028, allocations: 157.2 kB / 334.5 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.006183, allocations: 83.66 kB / 334.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.006314, allocations: 163.4 kB / 334.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.047e-05/0.006395, allocations: 17.3 kB / 334.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.006601, allocations: 120.4 kB / 334.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.958e-05/0.00665, allocations: 39.83 kB / 334.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.006666, allocations: 12 kB / 335 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.006793, allocations: 123.7 kB / 335.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007878/0.007581, allocations: 2.835 MB / 337.9 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003841/0.007965, allocations: 0.7783 MB / 338.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.009148, allocations: 2.601 MB / 341.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.009151, allocations: 0 / 341.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.009152, allocations: 0 / 341.3 MB, free: 8.273 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.274e-05/0.009195, allocations: 0 / 341.3 MB, free: 8.273 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003153/0.01235, allocations: 4.867 MB / 346.2 MB, free: 3.336 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.01238, allocations: 12.75 kB / 346.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.01269, allocations: 473.7 kB / 346.6 MB, free: 2.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.01429, allocations: 2.031 MB / 348.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.01431, allocations: 384 / 348.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.01432, allocations: 4.375 kB / 348.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.01444, allocations: 62.94 kB / 348.7 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.01445, allocations: 3.938 kB / 348.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.01446, allocations: 0 / 348.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.01447, allocations: 0 / 348.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.01451, allocations: 23.97 kB / 348.8 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002627/0.01714, allocations: 2.833 MB / 351.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.01727, allocations: 67.05 kB / 351.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.0173, allocations: 15.67 kB / 351.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.01731, allocations: 4 kB / 351.7 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.397e-05/0.0174, allocations: 69.05 kB / 351.7 MB, free: 13.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.0174, allocations: 3.938 kB / 351.7 MB, free: 13.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004914/0.01789, allocations: 0.5492 MB / 352.3 MB, free: 13.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.01792, allocations: 51.41 kB / 352.3 MB, free: 12.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006387/0.02431, allocations: 7.688 MB / 360 MB, free: 5.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.02432, allocations: 29.7 kB / 360.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000893/0.02522, allocations: 1.347 MB / 361.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.02538, allocations: 283.6 kB / 361.7 MB, free: 3.586 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002877/0.02826, allocations: 3.676 MB / 365.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.02837, allocations: 0.4887 MB / 365.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002302/0.03068, allocations: 2.316 MB / 368.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003057/0.03373, allocations: 3.518 MB / 371.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003594/0.03733, allocations: 3.98 MB / 375.7 MB, free: 5.457 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.061e-05/0.03735, allocations: 3.938 kB / 375.7 MB, free: 5.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=1555) (initialization): time 0.007086/0.04443, allocations: 8.149 MB / 383.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/0.04447, allocations: 8.031 kB / 383.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/0.04449, allocations: 0 / 383.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.87e-05/0.04454, allocations: 52 kB / 383.9 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003779/0.04832, allocations: 2.368 MB / 386.2 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001018/0.04842, allocations: 52 kB / 386.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.04948, allocations: 247.9 kB / 386.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003414/0.04982, allocations: 348 kB / 386.9 MB, free: 10.15 MB / 314.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.000675/0.0505, allocations: 0.5373 MB / 387.4 MB, free: 9.602 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/0.05086, allocations: 472.8 kB / 387.9 MB, free: 9.137 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.05114, allocations: 156.9 kB / 388 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.05114, allocations: 4 kB / 388 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.05114, allocations: 0 / 388 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.05115, allocations: 0 / 388 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.05308, allocations: 2.232 MB / 390.3 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.05308, allocations: 7.875 kB / 390.3 MB, free: 6.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.05311, allocations: 8 kB / 390.3 MB, free: 6.684 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.05312, allocations: 3.984 kB / 390.3 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.05313, allocations: 0 / 390.3 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.05313, allocations: 0 / 390.3 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.05313, allocations: 0 / 390.3 MB, free: 6.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.05358, allocations: 0.6216 MB / 390.9 MB, free: 6.027 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008092/0.05439, allocations: 0.821 MB / 391.7 MB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.05461, allocations: 3.938 kB / 391.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.05487, allocations: 8 kB / 391.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.05492, allocations: 15.97 kB / 391.8 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.05493, allocations: 0 / 391.8 MB, free: 5.176 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002568/0.05749, allocations: 2.49 MB / 394.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.05749, allocations: 0 / 394.2 MB, free: 2.688 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001343/0.05884, allocations: 1.508 MB / 395.8 MB, free: 1.18 MB / 314.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.001051/0.05989, allocations: 487.5 kB / 396.2 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004184/0.06407, allocations: 4.722 MB / 400.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.06407, allocations: 0 / 400.9 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.223e-05/0.06413, allocations: 31.61 kB / 401 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007411/0.06487, allocations: 177 kB / 401.2 MB, free: 11.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1119/0.1768, allocations: 13.09 MB / 414.2 MB, free: 81.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.1782, allocations: 1.69 MB / 415.9 MB, free: 81.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.00112/0.1793, allocations: 0.678 MB / 416.6 MB, free: 80.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.1797, allocations: 226.1 kB / 416.8 MB, free: 80.95 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1797, allocations: 0 / 416.8 MB, free: 80.95 MB / 330.7 MB Notification: Performance of Templates: time 0.04759/0.2273, allocations: 35.73 MB / 452.6 MB, free: 50.48 MB / 330.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.5716458642855287]