Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 102.3 kB / 16.31 MB, free: 5.879 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 189.8 kB / 17.24 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.1 MB / 223.1 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07935/0.07935, allocations: 12.59 MB / 283.1 MB, free: 15.47 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 91.86 kB / 343.5 MB, free: 2.941 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3179, allocations: 49.39 MB / 392.9 MB, free: 49.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.003193/0.3211, allocations: 1.806 MB / 394.7 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.3225, allocations: 0.7302 MB / 395.4 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.3226, allocations: 2.344 kB / 395.4 MB, free: 47.39 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003051/0.3229, allocations: 29.5 kB / 395.4 MB, free: 47.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.567e-05/0.323, allocations: 9.766 kB / 395.5 MB, free: 47.37 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.3233, allocations: 67.45 kB / 395.5 MB, free: 47.33 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3235, allocations: 105.8 kB / 395.6 MB, free: 47.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.3237, allocations: 62.56 kB / 395.7 MB, free: 47.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3238, allocations: 41.91 kB / 395.7 MB, free: 47.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.3239, allocations: 42.55 kB / 395.8 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.324, allocations: 6.625 kB / 395.8 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.227e-05/0.324, allocations: 10.91 kB / 395.8 MB, free: 47.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.861e-05/0.3241, allocations: 22.2 kB / 395.8 MB, free: 47.19 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.3242, allocations: 48.11 kB / 395.9 MB, free: 47.15 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.3244, allocations: 84.72 kB / 395.9 MB, free: 47.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3244, allocations: 1.062 kB / 395.9 MB, free: 47.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3244, allocations: 0 / 395.9 MB, free: 47.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3244, allocations: 0 / 395.9 MB, free: 47.11 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005458/0.3249, allocations: 404 kB / 396.3 MB, free: 46.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.325, allocations: 9.75 kB / 396.3 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.325, allocations: 11.47 kB / 396.4 MB, free: 46.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.3253, allocations: 209.9 kB / 396.6 MB, free: 46.49 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.3253, allocations: 11.16 kB / 396.6 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3253, allocations: 13.5 kB / 396.6 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/0.3258, allocations: 247.5 kB / 396.8 MB, free: 46.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3259, allocations: 4 kB / 396.8 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3259, allocations: 1.062 kB / 396.8 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3259, allocations: 3.172 kB / 396.8 MB, free: 46.33 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.3261, allocations: 55.34 kB / 396.9 MB, free: 46.31 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.3265, allocations: 309 kB / 397.2 MB, free: 46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.3267, allocations: 146.2 kB / 397.3 MB, free: 45.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.3269, allocations: 84.14 kB / 397.4 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.3269, allocations: 2.281 kB / 397.4 MB, free: 45.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.327, allocations: 48.67 kB / 397.5 MB, free: 45.78 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 2.044e-06/0.327, allocations: 1.062 kB / 397.5 MB, free: 45.78 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.000481/0.3275, allocations: 176.7 kB / 397.6 MB, free: 45.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/0.3276, allocations: 112.5 kB / 397.7 MB, free: 45.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3277, allocations: 132.6 kB / 397.9 MB, free: 45.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.412e-05/0.3277, allocations: 30.8 kB / 397.9 MB, free: 45.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.3277, allocations: 90.55 kB / 398 MB, free: 45.31 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.3278, allocations: 19.17 kB / 398 MB, free: 45.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.3278, allocations: 36.17 kB / 398 MB, free: 45.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.3279, allocations: 322.8 kB / 398.4 MB, free: 44.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.901e-05/0.328, allocations: 23.23 kB / 398.4 MB, free: 44.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.3281, allocations: 130 kB / 398.5 MB, free: 44.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.3283, allocations: 176.7 kB / 398.7 MB, free: 44.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.3284, allocations: 5.562 kB / 398.7 MB, free: 44.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003008/0.3287, allocations: 172.8 kB / 398.9 MB, free: 44.49 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3287, allocations: 7.75 kB / 398.9 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3287, allocations: 7.875 kB / 398.9 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.3288, allocations: 9.969 kB / 398.9 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3289, allocations: 33.83 kB / 398.9 MB, free: 44.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.3289, allocations: 8.844 kB / 398.9 MB, free: 44.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.329, allocations: 18.45 kB / 398.9 MB, free: 44.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.329, allocations: 8.375 kB / 399 MB, free: 44.46 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.fixedDelay.first,fixedDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fixedDelay.first,fixedDelay.u_buffer[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001957/0.3293, allocations: 131.7 kB / 399.1 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.3294, allocations: 120.6 kB / 399.2 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.55e-05/0.3295, allocations: 24.25 kB / 399.2 MB, free: 44.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3295, allocations: 2.406 kB / 399.2 MB, free: 44.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3295, allocations: 1.219 kB / 399.2 MB, free: 44.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3296, allocations: 3.984 kB / 399.2 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.3298, allocations: 191.8 kB / 399.4 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.3298, allocations: 5.125 kB / 399.4 MB, free: 44.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/0.3299, allocations: 27.14 kB / 399.4 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.3299, allocations: 2.312 kB / 399.5 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3299, allocations: 5.094 kB / 399.5 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3299, allocations: 2.156 kB / 399.5 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3299, allocations: 4 kB / 399.5 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002913/0.3302, allocations: 251 kB / 399.7 MB, free: 43.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.3303, allocations: 89.64 kB / 399.8 MB, free: 43.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.3303, allocations: 14.16 kB / 399.8 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.3304, allocations: 3.25 kB / 399.8 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.3304, allocations: 9.141 kB / 399.8 MB, free: 43.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.3305, allocations: 11.39 kB / 399.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.006e-05/0.3305, allocations: 97.33 kB / 399.9 MB, free: 43.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3305, allocations: 0 / 399.9 MB, free: 43.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002822/0.3308, allocations: 22.28 kB / 399.9 MB, free: 43.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fixedDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fixedDelay.u_buffer[1],fixedDelay.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001042/0.3309, allocations: 97.72 kB / 400 MB, free: 43.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002859/0.3312, allocations: 120.4 kB / 400.2 MB, free: 43.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3312, allocations: 0 / 400.2 MB, free: 43.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.3313, allocations: 9.578 kB / 400.2 MB, free: 43.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.3317, allocations: 82.73 kB / 400.3 MB, free: 43.38 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.3323, allocations: 257.8 kB / 400.5 MB, free: 43.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.3325, allocations: 0.7081 MB / 401.2 MB, free: 42.47 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.629e-05/0.3325, allocations: 14.27 kB / 401.2 MB, free: 42.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.19e-05/0.3326, allocations: 14.31 kB / 401.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3326, allocations: 3.938 kB / 401.2 MB, free: 42.45 MB / 318.1 MB Notification: Performance of Templates: time 0.003876/0.3365, allocations: 1.064 MB / 402.3 MB, free: 41.94 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)